[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Invalid credentials (49) problem
- To: openldap-software@OpenLDAP.org
- Subject: Invalid credentials (49) problem
- From: Muhammad Najmi Ahmad Zabidi <najmi.zabidi@gmail.com>
- Date: Thu, 19 May 2005 14:56:45 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s¾ta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; bÁPRL+jVqKM/V/+OIJzLNUhahr/ZuR6OU5hPPxw9r6gTngHytnO3eUiCRUWuOQgpxJqQjnhVSkxkMjELp9jRAKb5ULqt8LjVL6efNrJ/YnY164saEiTq7hOg55Z25k13cfRPHwL/eH0z9fG6MB2Z9BoXCCpEVMsnKb8BfjV6t9MReceived: by 10.54.76.12 with SMTP id y12mr915678wra; Wed, 18 May 2005 23:56:45 -0700 (PDT)
hello,
i try to configure openldap on centos 4.0
this is my output:
ldapadd -x -h 127.0.0.1 -D
"cn=Manager,dc=my-domain,dc=com" -w secret -f cuba.ldif
ldap_bind: Invalid credentials (49)
this is my cuba.ldif
-----------------------------------------------------------------------------------------------
dn: dc=my-domain,dc=com
objectclass: dcObject
objectclass: organization
o: Example Company
dc: my-domain
# Organizational Role for Directory Manager
dn: cn=Manager,dc=my-domain,dc=com
objectClass: organizationalRole
cn: Manager
description: Directory Manager
-----------------------------------------------------------------------------------------------
this is my slapd.conf
-----------------------------------------------------------------------------------------------
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
allow bind_v2
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
database bdb
suffix "dc=my-domain,dc=com"
rootdn "cn=Manager,dc=my-domain,dc=com"
rootpw secret
directory /var/lib/ldap
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
binddn="cn=Manager,dc=my-domain,dc=com"
loglevel 1
-----------------------------------------------------------------------------------------------
what went wrong actually?
I went thru the details for slapd.conf and cuba.ldif,shouldn't be wrong. or
i mislook anything?