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

Samba + poptop + LDAP



Hello All,

I currently have samba and pam working with ldap, but after installing pptpd 
with the ldap patch, the ldap search is not returning anything for the PPTPD 
daemon.

syslog: 
Linux pppd[3359]: LDAP Search String: (&(uid=kevin)(objectClass=sambaAccount)) 
linux pppd[3359]: attributes defined 
linux slapd[3140]: conn=12 op=1 SRCH 
base="ou=Users,dc=linux,dc=test,dc=network" scope=0 
filter="(&(uid=kevin)(objectClass=sambaAccount))" 
linux slapd[3140]: conn=12 op=1 SEARCH RESULT tag=101 err=0 text= 
linux pppd[3359]: search issued 
linux pppd[3359]: No Match Found In Directory

but while I run a ldapsearch of: 
ldapsearch -x -b 'ou=Users,dc=linux,dc=test,dc=network' 
'(&(uid=kca)(objectClass=sambaAccount))' 'ntpassword'

I get the output of the ntpassword attribute.

In the pppldap patch, the scope id was set to 0 and was not returning any 
values. After chaning it to 1, it find the password but im getting a fatal 
error 11.

Syslog 
linux pppd[2211]: search issued 
Sep 1 13:45:56 linux pppd[2211]: Got some results! 
Sep 1 13:45:56 linux pppd[2211]: Found password: PASSWORDSTRING 
Sep 1 13:45:56 linux pppd[2211]: LDAP Routine done. 
Sep 1 13:45:56 linux pppd[2211]: Fatal signal 11 
Sep 1 13:45:56 linux slapd[1778]: conn=12 op=2 UNBIND 
Sep 1 13:45:56 linux slapd[1778]: conn=-1 fd=17 closed 
Sep 1 13:45:56 linux pppd[2211]: Exit. 
Sep 1 13:45:56 linux pptpd[2210]: GRE: read(fd=5,buffer=804d520,len=8196) from 
PTY failed: status = -1 error = Input/output error

Has anyone been able to use poptop with ldap auth?
Thanks,
Kevin Atwood