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

LDAP w/ ProFTPd



hi,

I'm working to get ProFTPd working with LDAP. It seems to connect OK and
make the query fine, but I always get an incorect password error.

In the logs I also see:
          mod_ldap: pr_ldap_connect(): Starting TLS failed:
          Can't contact LDAP server
But it does connect and make the query ok. I only have TLS (port 636) open
so it must be getting through. It filters for posixAccount and
shadowAccount.

The system is Linux the distro is Debian Woody. Funny think is I thought I
had this working.

The LDAP logs show:
Jan 12 12:10:20 robson slapd[3387]: conn=12885 fd=53 ACCEPT from
IP=192.168.0.254:61872 (IP=0.0.0.0:636)
Jan 12 12:10:21 robson slapd[3451]: conn=12885 op=0 BIND dn="" method=128
Jan 12 12:10:21 robson slapd[3451]: conn=12885 op=0 RESULT tag=97 err=0 text=
Jan 12 12:10:21 robson slapd[7646]: conn=12885 op=1 SRCH
base="o=xxx.com,dc=xxx,dc=com" scope=2
filter="(&(objectClass=posixGroup))"
Jan 12 12:10:21 robson slapd[7646]: conn=12885 op=1 SRCH attr=cn
userPassword memberUid uniqueMember gidNumber
Jan 12 12:10:21 robson slapd[7646]: conn=12885 op=1 SEARCH RESULT tag=101
err=0 nentries=84 text=
Jan 12 12:10:30 robson slapd[3387]: conn=12886 fd=56 ACCEPT from
IP=192.168.0.2:33264 (IP=0.0.0.0:389)
Jan 12 12:10:30 robson slapd[7932]: conn=12886 op=0 BIND dn="" method=128
Jan 12 12:10:30 robson slapd[7932]: conn=12886 op=0 RESULT tag=97 err=0 text=
Jan 12 12:10:30 robson slapd[3982]: conn=12886 op=1 SRCH
base="dc=xxx,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uidNumber=1104))"
Jan 12 12:10:30 robson slapd[3982]: conn=12886 op=1 SRCH attr=uid
userPassword uidNumber gidNumber cn homeDirectory loginShell gecos
description objectC
lass
Jan 12 12:10:30 robson slapd[3982]: conn=12886 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
Jan 12 12:10:30 robson slapd[3387]: conn=12886 fd=56 closed
Jan 12 12:10:30 robson slapd[3394]: conn=12885 op=2 UNBIND
Jan 12 12:10:30 robson slapd[3394]: conn=12885 fd=53 closed
Jan 12 12:10:30 robson slapd[3387]: conn=12887 fd=53 ACCEPT from
IP=192.168.0.254:61877 (IP=0.0.0.0:636)
Jan 12 12:10:31 robson slapd[3395]: conn=12887 op=0 BIND dn="" method=128
Jan 12 12:10:31 robson slapd[3395]: conn=12887 op=0 RESULT tag=97 err=0 text=
Jan 12 12:10:31 robson slapd[3451]: conn=12887 op=1 SRCH
base="o=xxx.com,dc=xxx,dc=com" scope=2
filter="(&(objectClass=posixGroup))"
Jan 12 12:10:31 robson slapd[3451]: conn=12887 op=1 SRCH attr=cn
userPassword memberUid uniqueMember gidNumber
Jan 12 12:10:31 robson slapd[3451]: conn=12887 op=1 SEARCH RESULT tag=101
err=0 nentries=84 text=




Thanks,
j.