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

ldap logs



 i've a pbm with my client to log in with uid and userPassword
here are my logs :

Apr 30 17:26:24 neo slapd[3211]: conn=10 op=22 SRCH base="o=lpmm,c=fr" scope=2 filter="(&(objectClass=posi
xAccount)(uid=stenon))"
Apr 30 17:26:24 neo slapd[3211]: conn=10 op=22 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirec
tory loginShell gecos description objectClass
Apr 30 17:26:24 neo slapd[3211]: <= bdb_equality_candidates: (uid) index_param failed (18)
Apr 30 17:26:24 neo slapd[3211]: conn=10 op=22 SEARCH RESULT tag=101 err=0 nentries=1 text=
Apr 30 17:26:24 neo slapd[3205]: conn=29 fd=15 ACCEPT from IP=194.57.141.253:32857 (IP=0.0.0.0:389)
Apr 30 17:26:24 neo slapd[3210]: conn=29 op=0 BIND dn="" method=128
Apr 30 17:26:24 neo slapd[3210]: conn=29 op=0 RESULT tag=97 err=0 text=
Apr 30 17:26:24 neo slapd[3211]: conn=29 op=1 SRCH base="o=lpmm,c=fr" scope=2 filter="(uid=stenon)"
Apr 30 17:26:24 neo slapd[3211]: <= bdb_equality_candidates: (uid) index_param failed (18)
Apr 30 17:26:24 neo slapd[3211]: conn=29 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Apr 30 17:26:24 neo slapd[3210]: conn=29 op=2 SRCH base="o=lpmm,c=fr" scope=2 filter="(&(objectClass=posix
Group)(|(memberUid=stenon)(uniqueMember=uid=stenon,o=lpmm,c=fr)))"
Apr 30 17:26:24 neo slapd[3210]: conn=29 op=2 SRCH attr=cn userPassword memberUid uniqueMember gidNumber
Apr 30 17:26:24 neo slapd[3210]: conn=29 op=2 SEARCH RESULT tag=101 err=0 nentries=0 text=
Apr 30 17:26:24 neo slapd[3205]: conn=29 fd=15 closed
Apr 30 17:26:32 neo slapd[3211]: conn=10 op=23 SRCH base="o=lpmm,c=fr" scope=2 filter="(&(objectClass=posi
xAccount)(uid=stenon))"
Apr 30 17:26:32 neo slapd[3211]: conn=10 op=23 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirec
tory loginShell gecos description objectClass
Apr 30 17:26:32 neo slapd[3211]: <= bdb_equality_candidates: (uid) index_param failed (18)
Apr 30 17:26:32 neo slapd[3211]: conn=10 op=23 SEARCH RESULT tag=101 err=0 nentries=1 text=
Apr 30 17:26:32 neo slapd[3210]: conn=10 op=24 SRCH base="o=lpmm,c=fr" scope=2 filter="(&(objectClass=shad
owAccount)(uid=stenon))"
Apr 30 17:26:32 neo slapd[3210]: conn=10 op=24 SRCH attr=uid userPassword shadowLastChange shadowMax shado
wMin shadowWarning shadowInactive shadowExpire
Apr 30 17:26:32 neo slapd[3210]: <= bdb_equality_candidates: (uid) index_param failed (18)
Apr 30 17:26:32 neo slapd[3210]: conn=10 op=24 SEARCH RESULT tag=101 err=0 nentries=1 text=
Apr 30 17:26:32 neo slapd[3211]: conn=10 op=25 SRCH base="o=lpmm,c=fr" scope=2 filter="(&(objectClass=posi
xAccount)(uid=stenon))"
Apr 30 17:26:32 neo slapd[3211]: conn=10 op=25 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirec
tory loginShell gecos description objectClass
Apr 30 17:26:32 neo slapd[3211]: <= bdb_equality_candidates: (uid) index_param failed (18)
Apr 30 17:26:32 neo slapd[3211]: conn=10 op=25 SEARCH RESULT tag=101 err=0 nentries=1 text=
Apr 30 17:26:32 neo slapd[3210]: conn=10 op=26 SRCH base="o=lpmm,c=fr" scope=2 filter="(&(objectClass=shad
owAccount)(uid=stenon))"
Apr 30 17:26:32 neo slapd[3210]: conn=10 op=26 SRCH attr=uid userPassword shadowLastChange shadowMax shado
wMin shadowWarning shadowInactive shadowExpire
Apr 30 17:26:32 neo slapd[3210]: <= bdb_equality_candidates: (uid) index_param failed (18)
Apr 30 17:26:32 neo slapd[3210]: conn=10 op=26 SEARCH RESULT tag=101 err=0 nentries=1 text=


***now my slapd.conf :

include        /usr/local/etc/openldap/schema/core.schema
include        /usr/local/etc/openldap/schema/cosine.schema
include        /usr/local/etc/openldap/schema/inetorgperson.schema
include        /usr/local/etc/openldap/schema/nis.schema
include        /usr/local/etc/openldap/schema/lpmm.schema

schemacheck             on

pidfile        /usr/local/var/slapd.pid
argsfile    /usr/local/var/slapd.args

allow bind_v2

database bdb
suffix "o=lpmm,c=fr"
rootdn "cn=admin,o=lpmm,c=fr"
rootpw {SHA}5en6G6MezRroT3XKqkdPOmY/BfQ=
directory /usr/local/var/openldap-data
index objectClass eq


***then my init.ldif :

dn: o=lpmm,c=fr
#objectClass: dcObject
objectClass : organization
o : lpmm
description : lpmm noeud du schema

dn: ou=ancien_personnel,o=lpmm,c=fr
objectClass : organizationalUnit
ou : ancien_personnel
description : Personnes ayany fini au laboratoire


dn: ou=personnel,o=lpmm,c=fr objectClass : organizationalUnit ou : personnel description : Personnes travaillants au laboratoire

dn: ou=inscription,o=lpmm,c=fr
objectClass : organizationalUnit
ou : inscription
description : Personnes voulant entrer au LPMM

dn: uid=stenon,ou=inscription,o=lpmm,c=fr
objectClass : top
objectClass : person
objectClass : organizationalPerson
objectClass : inetOrgPerson
objectClass : lpmm
objectClass : posixAccount
objectClass : shadowAccount
#gecos: root
#shadowMax: 99999
#shadowWarning: 7
uid: stenon
uidNumber: 1000
gidNumber: 1000
cn: TENON Samuel
sn: TENON
description: descrip
mail: stenon@****
dateArrive: 24-04-2003
dateDepart: 24-04-2045
postalAddress: *********
telephonenumber: ****
roomNumber: 210
homeDirectory: /home/stenon
loginShell: /bin/sh

***my lapd.conf on client :
host 192.123.123.123
base: o=lpmm,c=fr

have you got some ideas ?