7 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
server:/etc/openldap # ldapadd -x -D "cn=ldapadmin,o=lan,c=de" -W -f init.ldif
Enter LDAP Password:
adding new entry "o=lan,c=de"
ldapadd: update failed: o=lan,c=de
ldap_add: Internal (implementation specific) error (80)
server:/etc/openldap # tail /var/log/messages
Mar 27 12:03:33 server slapd[4108]: daemon: conn=0 fd=9 connection from IP=192.168.0.251:32774 (IP=0.0.0.0:389) accepted.
Mar 27 12:03:33 server slapd[4116]: conn=0 op=0 BIND dn="cn=ldapadmin,o=lan,c=de" method=128
Mar 27 12:03:33 server slapd[4116]: <= dn2id could not open dn2id.dbb
Mar 27 12:03:33 server slapd[4116]: conn=0 op=0 RESULT tag=97 err=0 text=
Mar 27 12:03:33 server slapd[4117]: conn=0 op=1 ADD dn="o=lan,c=de"
Mar 27 12:03:33 server slapd[4117]: <= dn2id could not open dn2id.dbb
Mar 27 12:03:33 server slapd[4117]: <= dn2id could not open dn2id.dbb
Mar 27 12:03:33 server slapd[4117]: conn=0 op=1 RESULT tag=105 err=80 text=
Mar 27 12:03:33 server slapd[4117]: conn=0 op=2 UNBIND
Mar 27 12:03:33 server slapd[4117]: conn=0 fd=9 closed
server:/etc/openldap #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
server:~ # cat /etc/openldap/slapd.conf
# simple slapd.conf
# Globale Anweisungen
ucdata-path /usr/share/openldap/ucdata
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/misc.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
access to * by * read
# Dies bedeutet, dass alle Welt lesen darf,
# aber nur der Administrator schreibrechte hat
allow bind_v2
# Viele Clients beherrschen nur LDAPv2
# Die Database-Anweisung Backend und Database
# sind noch identisch
database ldbm
suffix "o=lan,c=de"
rootdn "cn=ldapadmin,o=lan,c=de"
rootpw {SSHA}j8KSX9NIG9Ut2C8MPBhyymzJIqsm1Hlz
# Dieses wird mittels "slappasswd -u" erstellt und
# per Cut and Paste eingetragen.
index default pres,eq
index objectclass eq
sasl-realm lan.de
# End of File
server:~ #
1
2
# Where the database file are physically stored for database #1
directory "/var/lib/ldap"
1
2
-bash-2.05b# ps aux | grep "slapd"
root 566 0.0 0.6 29796 3204 ? S 19:07 0:00 /usr/sbin/slapd
7 Einträge, 1 Seite |