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

Re: slapd error!



Cristian Tudose wrote:

 Hi to all ...

I have some problem whit slapd ...
when i stop the ldap "service ldap stop"
i recive this error:

stoping slpad: /etc/init.d/ldap: line 196: kill: (27694) - No such
process /etc/init.d/ldap: line 196: kill: (27693) - No such process /etc/init.d/ldap: line 196: kill: (27698) - No such process [OK]


This can be ignored, the shutdown script probably tries to kill all slapd threads
(which on Linux are havin different PID) and fails, the "master" slapd closed
them before.


[root@xxxxx cristi]# ldapsearch -x -b '' -s base '(ojectclass=*)'
namingContexts

version: 2

#
# filter: (ojectclass=*)
# requesting: namingContexts #


# search result
search: 2
result: 0 Success

# numResponses: 1



Probably an access control configuration error. Try to bind as rootdn and see if you
get the same results.



and when i try to browse whit gq, apears a little window who request a pass. i enter the pass what i set whit slappasswd, but he say wrong pass or invalid URI!

What's the problem ... ?

This is a known GQ bug, just choose to store the passwd on the disk and it will work.

i make a exemple.ldif were i write ...

dn: uid=cristi,ou=people,dc=tehnic,dc=ro
uid: cristi
cn: Cristi User
givenname: Cristi
sn: User
mail: cristi@tehnic.ro
objectClass: top
objectClass: mailRecipient
objectClass: person
objectClass: inetOrgPerson

if i try to add the sample.ldif:
ldapadd -x -D "cn=root,dc=tehnic,dc=ro" -W -f /path_ro_ldif_file/

Enter LDAP Password:
"uid=cristi,ou=person,dc=tehnic,dc=ro"
ldap_add: Object class violation
additional info: unrecognized objectClass 'mailRecipient'
ldif_record () = 65


You don't have the mailRecipient object class defined in your schema files
(/etc/openldap/schema). Try : grep MailRecipient /etc/openldap/schema/*
and see if you have it otherwise it could be from another file. Google it :)
or could be included in the Courier-Imap schema.


mitu

PS Please begin a new "thread" next time instead of replying.