Home Linux ServerWare
/etc/proftpd/ldap.conf

    AuthOrder mod_ldap.c
    LDAPServer xxx.xxx.xxx.xxx  # your server IP
    LDAPAttr uid sAMAccountName
    LDAPAttr uidNumber msSFU30UidNumber
    LDAPAttr gidNumber msSFU30GidNumber
    LDAPGenerateHomedir on
    LDAPGenerateHomedirPrefix /<mypath>
    LDAPDefaultUID 1001
    LDAPDefaultGID 1001
    RequireValidShell off
    LDAPDNInfo "cn=ldapreader,OU=<myOU,DC=<mycorp>,DC=<domain>" "<mypassword>"  # a generic windows account
    LDAPAuthBinds on
    LDAPDoAuth on "OU=<myOU>,DC=<mycorp>,DC=<domain>" "(&(sAMAccountName=%u)(memberOf=CN=<mygroup>,OU=<myOU>,DC=<mycorp>,DC=<domain>))"



modify /etc/proftpd/proftpd.conf

DefaultRoot   /home/myRoot
Include /etc/proftpd/ldap.conf
PersistentPasswd                off