[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ldap issues



El lun, 11-04-2005 a las 20:22 +0200, Mohammad Halawah escribió:
> Hello,
> 
> I have a few questions 
> 
> 1)sometimes i have to kill the slapd by "kill PID" inorder to restart it 
> correctly .I had to do that because the port 386 is still busy in the 
> time-interval between the STOP and the START phases of the slapd
> 
> 2)When I want to add some entries by
> ldapadd -f /usr/share/doc/libnss-ldap/examples/groups.ldif -x -h rat -D 
> "cn=admin,dc=example,dc=com" -w secret
> 
> NOTE: rat is my machine name ,I am using Debian/Sarge
> 
> the result is 
> adding new entry "ou=Group,dc=example,dc=com"
> ldapadd: update failed: ou=Group,dc=example,dc=com
> ldap_add: No such object (32)
> 
	Are you sure that ou=Group,dc=example,dc=com exists?
> 
> 3)when I use the ldapsearch -s sub -x -h rat -b "dc=example,dc=com"
> the result is 
> 
> # extended LDIF
> #
> # LDAPv3
> # base <dc=example,dc=com> with scope sub
> # filter: (objectclass=*)
> # requesting: ALL
> #
> 
> # search result
> search: 2
> result: 32 No such object
> 
	It seems that dc=example,dc=com doesn't exist. You have to create it
manually.

-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información     _o)
y las Comunicaciones Aplicadas (ATICA)    / \\
http://www.um.es/atica                  _(___V
Tfo: 968367590
Fax: 968398337



Reply to: