Jaydee
16.07.03, 09:45
Hallo,
hier erst mal meine sldap.conf:
# Define global ACLs to disable default read access.
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
# Load dynamic backend modules:
# modulepath /usr/lib/openldap/openldap
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
################################################## #####################
# ldbm database definitions
################################################## #####################
database ldbm
#suffix "dc=my-domain,dc=com"
#suffix "o=My Organization Name,c=US"
#rootdn "cn=admin"
suffix "o=slsupport.de"
rootdn "cn=Manager, o=slsupport.de"
index default pres,eq
index objectClass eq
#rootdn "cn=Manager,o=My Organization Name,c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw technik
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain
index objectClass eq
Hier meine global.ldif:
dn: o=slsupport.de
o: slsupport.de
objectclass: top
objectclass: organization
dn: ou=linux, o=slsupport.de
ou: linux
objectclass: organizationalUnit
dn: uid=ascherl, ou=linux, o=slsupport.de
uid: ascherl
cn: Alex Ascherl
sn: Ascherl
givenname: Alex
objectclass: person
userpassword: clearpass
mailacceptinggeneralid: a.ascherl@slsupport.de
ou: linux
dn: uid=hofmann, ou=linux, o=slsupport.de
uid: hofmann
cn: Pamela Hofmann
sn: Hofmann
givenname: Pamela
objectclass: person
userpassword: clearpass
mailacceptinggeneralid: info@friseur-pamela.de
ou: linux
Wenn ich nun die Datenbank hinzufügen will kommt folgendes:
defu1328:/etc/openldap # ldapadd -x -D ''cn=Manager,o=slsupport.de'' -W -f global.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials
Genau dann komm ich nicht mehr weiter. Bin mit LDAP auch noch ganz, ganz am Anfang.
Wer weiss Rat ?
hier erst mal meine sldap.conf:
# Define global ACLs to disable default read access.
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
# Load dynamic backend modules:
# modulepath /usr/lib/openldap/openldap
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
################################################## #####################
# ldbm database definitions
################################################## #####################
database ldbm
#suffix "dc=my-domain,dc=com"
#suffix "o=My Organization Name,c=US"
#rootdn "cn=admin"
suffix "o=slsupport.de"
rootdn "cn=Manager, o=slsupport.de"
index default pres,eq
index objectClass eq
#rootdn "cn=Manager,o=My Organization Name,c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw technik
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain
index objectClass eq
Hier meine global.ldif:
dn: o=slsupport.de
o: slsupport.de
objectclass: top
objectclass: organization
dn: ou=linux, o=slsupport.de
ou: linux
objectclass: organizationalUnit
dn: uid=ascherl, ou=linux, o=slsupport.de
uid: ascherl
cn: Alex Ascherl
sn: Ascherl
givenname: Alex
objectclass: person
userpassword: clearpass
mailacceptinggeneralid: a.ascherl@slsupport.de
ou: linux
dn: uid=hofmann, ou=linux, o=slsupport.de
uid: hofmann
cn: Pamela Hofmann
sn: Hofmann
givenname: Pamela
objectclass: person
userpassword: clearpass
mailacceptinggeneralid: info@friseur-pamela.de
ou: linux
Wenn ich nun die Datenbank hinzufügen will kommt folgendes:
defu1328:/etc/openldap # ldapadd -x -D ''cn=Manager,o=slsupport.de'' -W -f global.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials
Genau dann komm ich nicht mehr weiter. Bin mit LDAP auch noch ganz, ganz am Anfang.
Wer weiss Rat ?