pureftpd-ldap

=?windows-1250?Q?Div=E1k_=C1d=E1m?= <[email protected]> Sat, 26 Nov 2005 13:42:44 +0100
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
hi

 i've recently installed pure-ftpd-ldap on a debian system (without
 hacking, only using apt-get), and i would like to authenticate it
 against an ldap-databe (which is already working fine, the complete
 mail system uses it without problem).
 well, i can give a very poor error desription: my problem is that it
 doesn't work :) i just don't have any clues why. (at the moment i'm
 not using the pureftpd.schema, first i just want to have a standard
 auth method). i've set everything for pureftpd, and when i try to
 log in it starts a
 normal query against the databe, i can't see anything in the ldap-log
 showing any kind of errors, but the result is an "authentication
 failed". does anyone have any ideas what am i doing wrong?
 thanks in advance
 adam


this is the log of a request (i'm not that familiar with ldap, but
afaik nentries=1 says it received 1 suitable entries, right?)
slapd[22217]: conn=168 fd=23 ACCEPT from IP=127.0.0.1:34769 (IP=0.0.0.0:389)
slapd[22217]: conn=168 op=0 BIND dn="..." method=128
slapd[22217]: conn=168 op=0 BIND dn="..." mech=SIMPLE ssf=0
slapd[22217]: conn=168 op=0 RESULT tag=97 err=0 text=
slapd[22217]: conn=168 op=1 SRCH base="dc=[],dc=hu" scope=2 deref=0 filter="(uid=ftptest)"
slapd[22217]: conn=168 op=1 SRCH attr=homeDirectory uidNumber FTPuid gidNumber FTPgid userPassword loginShell FTPStatus FTPQuotaFiles FTPQuotaMBytes FTPDownloadRatio FTPUploadRatio FTPDownloadBandwidth FTPUploadBandwidth
slapd[22217]: conn=168 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
slapd[22217]: conn=168 op=2 UNBIND
slapd[22217]: conn=168 fd=23 closed

this is my config, but i don't think there is much interesting in it:
LDAPServer localhost
LDAPPort   389
LDAPBaseDN dc=[],dc=hu
LDAPBindDN cn=Pureftpd,ou=SystemUsers,dc=[],dc=hu
LDAPBindPW ...
LDAPDefaultUID 123
LDAPDefaultGID 124
LDAPFilter (uid=\L)
LDAPHomeDir homeDirectory
LDAPVersion 3
 


---------------------------------------------------------------------
To post a new message, e-mail: [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]