[Date Prev][Date Next] [Chronological] [Thread] [Top]

using ldap with proftpd



Hi,

I'm sorry to ask, but I can't find any doc about that..

I've just installed the last proftpd server compiled with mod_ldap (vers
2.7.6)
I add in the proftpd.conf :

LDAPServer                      localhost
LDAPAuthBinds                   on
LDAPDNInfo                      dc=lecentre,dc=net
#LDAPPrefix                     "dc=lecentre,dc=net"
LDAPDoAuth                      on "dc=lecentre,dc=net"


When I try to log in proftpd, here is what I got :


Jul 14 13:43:02 diamond slapd[379]: daemon: conn=579 fd=12 connection
from IP=127.0.0.1:1717 (IP=0.0.0.0:389) accepted.
Jul 14 13:43:02 diamond slapd[379]: conn=579 op=0 BIND
dn="DC=LECENTRE,DC=NET" method=128
Jul 14 13:43:02 diamond slapd[379]: conn=579 op=0 RESULT tag=97 err=0
text=
Jul 14 13:43:02 diamond slapd[379]: conn=579 op=1 SRCH
base="dc=lecentre,dc=net" scope=2
filter="(&(uid=stool)(objectClass=posixAccount))"
Jul 14 13:43:02 diamond slapd[379]: conn=579 op=1 SEARCH RESULT tag=101
err=0 text=
Jul 14 13:43:02 diamond slapd[379]: conn=579 op=2 SRCH
base="dc=lecentre,dc=net" scope=2
filter="(&(uid=stool)(objectClass=posixAccount))"
Jul 14 13:43:02 diamond slapd[379]: conn=579 op=2 SEARCH RESULT tag=101
err=0 text=
Jul 14 13:43:16 diamond slapd[379]: conn=579 op=3 UNBIND
Jul 14 13:43:16 diamond slapd[379]: conn=-1 fd=12 closed
Jul 14 13:43:16 diamond slapd[379]: daemon: conn=580 fd=12 connection
from IP=127.0.0.1:1718 (IP=0.0.0.0:389) accepted.
Jul 14 13:43:16 diamond slapd[379]: conn=580 op=0 BIND
dn="DC=LECENTRE,DC=NET" method=128
Jul 14 13:43:16 diamond slapd[379]: conn=580 op=0 RESULT tag=97 err=0
text=
Jul 14 13:43:16 diamond slapd[379]: conn=580 op=1 SRCH
base="dc=lecentre,dc=net" scope=2
filter="(&(uid=stool)(objectClass=posixAccount))"
Jul 14 13:43:16 diamond slapd[379]: conn=580 op=1 SEARCH RESULT tag=101
err=0 text=
Jul 14 13:43:16 diamond slapd[379]: conn=580 op=2 SRCH
base="dc=lecentre,dc=net" scope=2
filter="(&(uid=stool)(objectClass=posixAccount))"
Jul 14 13:43:16 diamond slapd[379]: conn=580 op=2 SEARCH RESULT tag=101
err=0 text=
Jul 14 13:43:16 diamond slapd[379]: conn=580 op=3 SRCH
base="dc=lecentre,dc=net" scope=2
filter="(&(uid=stool)(objectClass=posixAccount))"
Jul 14 13:43:16 diamond slapd[379]: conn=580 op=3 SEARCH RESULT tag=101
err=0 text=
Jul 14 13:47:57 diamond slapd[379]: conn=-1 fd=12 closed



And this is my DN :

"uid=stool, ou=users, ou=lecentre.net, dc=lecentre,dc=net"

Then, uid=stool and userpassword is MD5 crypted.
I also defined the attribut homedirectory, uidnumber and gidnumber

Binds seems to be good, but then...

Where an I wrong ?

Prune