🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.net.ldap
Article #207

ldapadd - Invalid crendentials

#207
From: Sebastian Kober
Date: Fri, 06 Sep 2002 13:42
115 lines
3705 bytes
Hi!

I have a big problem with my LDAP-Server:

I want to add some Users but this error comes to me "ldap_bind:
Invalid credentials"
the command was:

ldapadd -D dn="cn=admin,ou=People,dc=leipziger-messe,dc=de" -w secret
-f /tmp/it.ldif


what's worng????
Help!

My Files:

---slapd.conf -----

# This is the main ldapd configuration file.

# Schema and objectClass definitions
include		/etc/openldap/slapd.at.conf
include		/etc/openldap/slapd.oc.conf

# Schema for supporting Netscape Roaming
include		/etc/openldap/netscape_roaming.at.conf
include		/etc/openldap/netscape_roaming.oc.conf

# Schema for supporting Debian Package Directory entries
#include		/etc/openldap/debian.at.conf
#include		/etc/openldap/debian.oc.conf

# Schema check allows for forcing entries to
# match schemas for their objectClasses's
schemacheck	off

# Where clients are refered to if no
# match is found locally
referral	ldap://ldap.four11.com

# Where the pid file is put. The init.d script
# will not stop the server if you change this.
pidfile		/var/run/slapd.pid

# Read slapd.conf(5) for possible values
loglevel	0

#######################################################################
# ldbm database definitions
#######################################################################

# The backendard
database	ldbm

# The base of your directory
suffix		"dc=leipziger-messe,dc=de"

# Where the database file are physically stored
directory	"/var/lib/openldap"
rootdn "cn=admin,ou=People,dc=leipziger-messe,dc=de"
rootpw secret

# Save the time that the entry gets modified
lastmod on

# By default, only read access is allowed
defaultaccess	read

# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
access to dn=".*,ou=Roaming,dc=leipziger-messe,dc=de"
	by dnattr=owner write

# The userPassword by default can be changed
# by the entry owning it if they are authenticated.
# Others should not be able to see it, except the
# admin entry below
access to attribute=userPassword
	by dn="cn=admin,ou=People,dc=leipziger-messe,dc=de" write
	by self write
	by * none

# The admin dn has full write access
access to * by dn="cn=admin,ou=People,dc=leipziger-messe,dc=de" write

# End of ldapd configuration file
----------------------

---- it.ldif ----

dn: uid=skober, ou=IT, dc=leipziger-messe, dc=de
objectclass: person
objectclass: organizational
cn: Sebastian Kober
sn: Kober
uid: skober
mail: Sebastian.Kober@leipziger-messe.de
l: Leipzig
postalcode: 04356
streetadress: Messe-Allee 1


dn: uid=sponndorf, ou=IT, dc=leipziger-messe, dc=de
objectclass: person
objectclass: organizational
cn: Steven Ponndorf
sn Ponndorf
uid: sponndorf
mail: s.ponndorf@leipziger-messe.de
l: Leipzig
postalcode: 04356
streetadress: Messe-Allee 1

-------------------------
Technical Details
Message-ID: <3e404fc9.0209060542.5c00d70f@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103627,6d8cb269f3985ceb,start
X-Google-Attributes: gid103627,public
X-Google-ArrivalTime: 2002-09-06 06:42:31 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: Sebastian.Kober@leipziger-messe.de (Sebastian Kober)
Newsgroups: fj.net.ldap
Subject: ldapadd - Invalid crendentials
Date: 6 Sep 2002 06:42:30 -0700
Organization: http://groups.google.com/
Lines: 115
Message-ID: <3e404fc9.0209060542.5c00d70f@posting.google.com>
NNTP-Posting-Host: 194.25.104.253
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1031319750 14545 127.0.0.1 (6 Sep 2002 13:42:30 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 6 Sep 2002 13:42:30 GMT