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

LDAP simple question



	Hi all,
	I started to play with ldap today. Installed openldapd for potato.
	I have a simple domain: animus.com.br and put the following at
sladp.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       "/usr/local/teste"

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

index cn,sn,uid
index objectclass organization, person
index default none


	I put another file 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


	When I try:
animus:/var/lib/openldap# ldapadd -f /tmp/newentry -D "cn=Manager,
o=TUDelft, c=NL" -w secret
ldap_bind: Invalid credentials

	When I try to start ldap I get at syslog:

May 27 14:51:19 machine slapd[1795]: line 8 (database^Ildbm)
May 27 14:51:19 machine slapd[1795]: line 10
(suffix^I^I"dc=animus,dc=com,dc=br")
May 27 14:51:19 machine slapd[1795]: line 12 (directory^I"/usr/local/teste")
May 27 14:51:19 machine slapd[1795]: line 14 (rootdn "cn=Manager, dc=animus,
dc=com, dc=br")
May 27 14:51:19 machine slapd[1795]: line 15 (rootpw "secret")
May 27 14:51:19 machine slapd[1795]: line 17 (index cn,sn,uid)
May 27 14:51:19 machine slapd[1795]: line 18 (index objectclass pres,eq)
May 27 14:51:19 machine slapd[1795]: line 19 (index default none)
May 27 14:51:19 machine slapd[1798]: bind() failed errno 98 (Address already
in
use)

	What 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: