On 2008-02-01 11:16:25, Fira wrote:
> I want to build another ftp server using proftpd, but the ldap
> authentication method is similar like above.
> [snip]
> LDAPDoAuth on "ou=People,dc=ldap,dc=example" "(&(userStatus=students)(userUid=\L))"


The mod_ldap escape for the username is "%u", not "\L".

Also, if you wish to use the userEmailHome attribute for the user's home
directory, you'll need:

LDAPAttr homeDirectory userEmailHome

john
--
John Morrissey _o /\ ---- __o
jwm@proftpd.org _-< \_ / \ ---- < \,
www.proftpd.org/ __(_)/_(_)________/ \_______(_) /_(_)__

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html