Hello
Im trying to set up an ldap-server as authenticationserver for my network.
But I can't get pam to authenticate against it...
I have added an user, and given him an MD5 hashed password: hers the user:
[lund@thue /tmp]$ ldapsearch uid=test
uid=test,ou=sysadmin,c=dk,o=cryptomathic.com
uid=test
cn=test person
objectclass=account
objectclass=posixAccount
objectclass=shadowAccount
objectclass=top
objectclass=person
loginshell=/bin/bash
uidnumber=512
gidnumber=502
homedirectory=/mnt/home/test
gecos=Test Person,,,,
userpassword={MD5}CY9rzUYh03PK3k6DJie09g==
when I type login, trying to use test, I get the following in syslog and it
ends with an authentication failure.
Nov 23 16:32:02 thue slapd[22111]: conn=266 fd=68 connection from
localhost.localdomain (127.0.0.1) accepted.
Nov 23 16:32:02 thue slapd[27735]: conn=266 op=0 BIND dn="" method=128
Nov 23 16:32:02 thue slapd[27735]: conn=266 op=0 RESULT err=0 tag=97
nentries=0
Nov 23 16:32:02 thue slapd[27736]: conn=266 op=1 SRCH
base="O=CRYPTOMATHIC.COM" scope=2
filter="(&(objectclass=POSIXACCOUNT)(uid=TEST))"
Nov 23 16:32:02 thue slapd[27736]: conn=266 op=1 RESULT err=0 tag=101
nentries=1
Nov 23 16:32:02 thue slapd[27737]: conn=266 op=2 SRCH
base="O=CRYPTOMATHIC.COM" scope=2
filter="(&(objectclass=POSIXACCOUNT)(uid=TEST))"
Nov 23 16:32:02 thue slapd[27737]: conn=266 op=2 RESULT err=0 tag=101
nentries=1
Nov 23 16:32:02 thue slapd[27738]: conn=266 op=3 SRCH
base="O=CRYPTOMATHIC.COM" scope=2
filter="(&(objectclass=SHADOWACCOUNT)(uid=TEST))"
Nov 23 16:32:02 thue slapd[27738]: conn=266 op=3 RESULT err=0 tag=101
nentries=1
Nov 23 16:32:15 thue slapd[27739]: conn=266 op=4 SRCH
base="O=CRYPTOMATHIC.COM" scope=2
filter="(&(objectclass=POSIXACCOUNT)(uid=TEST))"
Nov 23 16:32:15 thue slapd[27739]: conn=266 op=4 RESULT err=0 tag=101
nentries=1
Nov 23 16:32:15 thue slapd[27740]: conn=266 op=5 SRCH
base="O=CRYPTOMATHIC.COM" scope=2
filter="(&(objectclass=SHADOWACCOUNT)(uid=TEST))"
Nov 23 16:32:15 thue slapd[22111]: conn=267 fd=69 connection from
localhost.localdomain (127.0.0.1) accepted.
Nov 23 16:32:15 thue slapd[27740]: conn=266 op=5 RESULT err=0 tag=101
nentries=1
Nov 23 16:32:15 thue slapd[27742]: conn=267 op=0 BIND dn="" method=128
Nov 23 16:32:15 thue slapd[27742]: conn=267 op=0 RESULT err=0 tag=97
nentries=0
Nov 23 16:32:15 thue slapd[27743]: conn=267 op=1 SRCH
base="O=CRYPTOMATHIC.COM" scope=2
filter="(&(objectclass=POSIXACCOUNT)(uidnumber=588))"
Nov 23 16:32:15 thue slapd[27743]: conn=267 op=1 RESULT err=0 tag=101
nentries=0
Nov 23 16:32:15 thue slapd[27744]: conn=267 op=2 SRCH
base="O=CRYPTOMATHIC.COM" scope=2
filter="(&(objectclass=POSIXACCOUNT)(uid=LUND))"
Nov 23 16:32:15 thue slapd[27744]: conn=267 op=2 RESULT err=0 tag=101
nentries=0
Nov 23 16:32:15 thue slapd[22111]: conn=267 op=-1 fd=69 closed errno=0
Regards Morten Lund
Keep in touch with http://mandrakeforum.com:
Subscribe the "[EMAIL PROTECTED]" mailing list.