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

Startup problem



Hello,

I have big problems to setup my ldap server. I want it to use for samba later.
Here my config.
Samba 3.4.7
slapd 2.4.21

ldap.conf
BASE dc=stud,dc=intern
URI ldap://127.0.0.1

slapd.conf
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/samba.schema



database bdb
suffix âdc=stud,dc=intern"
rootdn âcn=root,dc=stud,dc=intern"
rootpw test
directory /var/lib/ldap

admin.ldif
dn: cn=root,dc=stud,dc=intern
objectclass: organizationalRole
cn: root
uid: root
uidNumber: 0
gidNumber: 100


ldapadd -D "cn=root,dc=stud,dc=intern" -x -W -f admin.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)

debug output
slapd starting
connection_get(10)
ldap_read: want=8, got=8
0000: 30 2d 02 01 01 60 28 02 0-...`(.
ldap_read: want=39, got=39
0000: 01 03 04 19 63 6e 3d 72 6f 6f 74 2c 64 63 3d 73 ....cn=root,dc=s
0010: 74 75 64 2c 64 63 3d 69 6e 74 65 72 6e 80 08 54 tud,dc=intern..t
0020: 65 73 74 65 72 33 32 est
ldap_read: want=8 error=Resource temporarily unavailable
=> ldap_bv2dn(cn=root,dc=stud,dc=intern,0)
<= ldap_bv2dn(cn=root,dc=stud,dc=intern)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=stud,dc=intern)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=stud,dc=intern)=0
send_ldap_result: err=49 matched="" text=""
ldap_write: want=14, written=14
0000: 30 0c 02 01 01 61 07 0a 01 31 04 00 04 00 0....a...1....
connection_get(10)
ldap_read: want=8, got=0

any idea?

Much Thanks
Andreas