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

More advances in LDAP



	Hi all,
	now I'm not getting ldap error credentials:



	# more /etc/ldap.conf

BASE    dc=animus, dc=com, dc=br
HOST    ldap.animus.com.br

HOST    localhost
#HOST   ldap.openldap.org ldap-master.openldap.org:666
PORT    389

SIZELIMIT       12
TIMELIMIT       15
DEREF           never

	# more myldif.ldif
	
   dn: dc=animus, dc=com, dc=br
   dc: animus
   o: Animus
   objectclass: organization
   objectclass: dcObject

   dn: cn=Manager, dc=animus, dc=com, dc=br
   cn: Manager
   sn: Manager
   objectclass: person

   dn: cn=Suporte, dc=animus, dc=com, dc=br
   cn: Suporte
   sn: Suporte
   objectclass: person

 	# more slapd.conf

include         /etc/openldap/slapd.at.conf
include         /etc/openldap/slapd.oc.conf

schemacheck     off

loglevel        -1

database        ldbm

suffix          "dc=animus,dc=com,dc=br"

directory       "/var/lib/openldap/animus"

rootdn "cn=Manager, dc=animus, dc=com, dc=br"
rootpw "secret"

index cn,sn,uid
index objectclass pres,eq
index default none

access to * by * read

	When I try the following command:

 # ldapadd -D "cn=Manager, dc=animus, dc=com, dc=br" -W < myldif.ldif
Enter LDAP Password:
ldapadd: no attributes to change or add (entry dc=animus, dc=com, dc=br  dc:
animus  o: Animus  objectclass: organization  objectclass: dcObject)

	And when searching I got nothing

   # ldapsearch -L -b "dc=animus, dc=com, dc=br" -W
"(objectclass=*)"
Enter LDAP Password:
ldap_search: No such object

	Waht can be wrong? 
	TIA,	Paulo Henrique


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: