Re[2]: pureftpd-ldap

Divák Ádám <[email protected]> Sat, 26 Nov 2005 23:41:04 +0100
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
aw> My experience with it is that it is to do with the attribute ftpstatus: enabled

aw> It has to be there and set in the usertree

hello
thanks, but it didn't solve the problem :(  [i don't really understand
what you mean about "...and set in the usertree"] i've added the ftpstatus:
enabled to one of the users, but i still can't login
but after a few hours i found out that the schema was wrong, so at
least now i can use the pureftpd user object class...
does anyone have any other ideas?
thanks
adam

a log at the moment:
pure-ftpd: ([email protected]) [INFO] New connection from caracas-0861.adsl.interware.hu
slapd[23856]: conn=25 fd=15 ACCEPT from IP=127.0.0.1:34824 (IP=0.0.0.0:389)
slapd[23856]: conn=25 op=0 BIND dn="cn=Pureftpd,ou=SystemUsers,dc=[],dc=hu" method=128
slapd[23856]: conn=25 op=0 BIND dn="cn=Pureftpd,ou=SystemUsers,dc=[],dc=hu" mech=SIMPLE ssf=0
slapd[23856]: conn=25 op=0 RESULT tag=97 err=0 text=
slapd[23856]: conn=25 op=1 SRCH base="dc=[],dc=hu" scope=2 deref=0 filter="(uid=eperfa)"
slapd[23856]: conn=25 op=1 SRCH attr=homeDirectory uidNumber FTPuid gidNumber FTPgid userPassword loginShell FTPStatus FTPQuotaFiles FTPQuotaMBytes FTPDownloadRatio FTPUploadRatio FTPDownloadBandwidth FTPUploadBandwidth
slapd[23856]: conn=25 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
slapd[23856]: conn=25 op=2 UNBIND
slapd[23856]: conn=25 fd=15 closed
pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [eperfa2]
pure-ftpd: ([email protected]) [INFO] Logout.

---
original post:
aw> hi

aw>  i've recently installed pure-ftpd-ldap on a debian system (without
aw>  hacking, only using apt-get), and i would like to authenticate it
aw>  against an ldap-databe (which is already working fine, the complete
aw>  mail system uses it without problem).
aw>  well, i can give a very poor error desription: my problem is that it
aw>  doesn't work :) i just don't have any clues why. (at the moment i'm
aw>  not using the pureftpd.schema, first i just want to have a standard
aw>  auth method). i've set everything for pureftpd, and when i try to
aw>  log in it starts a
aw>  normal query against the databe, i can't see anything in the ldap-log
aw>  showing any kind of errors, but the result is an "authentication
aw>  failed". does anyone have any ideas what am i doing wrong?
aw>  thanks in advance
aw>  adam
aw> this is my config, but i don't think there is much interesting in it:
aw> LDAPServer localhost
aw> LDAPPort   389
aw> LDAPBaseDN dc=[],dc=hu
aw> LDAPBindDN cn=Pureftpd,ou=SystemUsers,dc=[],dc=hu
aw> LDAPBindPW ...
aw> LDAPDefaultUID 123
aw> LDAPDefaultGID 124
aw> LDAPFilter (uid=\L)
aw> LDAPHomeDir homeDirectory
aw> LDAPVersion 3
aw>


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