Hi Guys

Here is my config details

 

1. /etc/openldap/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/openldap/slapd.pid

argsfile        /var/run/openldap/slapd.args

database        bdb

suffix          "dc=example,dc=com"

rootdn          "cn=Manager,dc=example,dc=com"

# Cleartext passwords, especially for the rootdn, should

# be avoided.  See slappasswd(8) and slapd.conf(5) for details.

# Use of strong authentication encouraged.

 #rootpw                secret

 rootpw {SSHA}airnU5gtmX+okEfQzseQsdXEx1QWpJ7/

directory       /var/lib/ldap/example.com

index objectClass                       eq,pres

index ou,cn,mail,surname,givenname      eq,pres,sub

index uidNumber,gidNumber,loginShell    eq,pres

 

 

 

2. /etc/openldap/example.com.ldif

dn: dc=example,dc=com

dc: example

description: ROOT LDAP Entry

objectClass: dcObject

objectClass: organizationalUnit

ou: rootobject

 

dn: ou=People, dc=example, dc=com

ou=People

description: All people on organisation

objectClass: organizationalUnit

 

 

I have used the following command

[EMAIL PROTECTED] openldap]# ldapadd -x -D  "cn=Manager,dc=example,dc=com" -W -f /etc/openldap/example.com.ldif

Enter LDAP Password:

ldap_bind: Invalid credentials (49)

[EMAIL PROTECTED] openldap]#

 

The password and dn both are correct.

 

Wish a solution please.

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jamie Wilkinson
Sent: Thursday, 20 April 2006 11:38 AM
To: [email protected]
Subject: Re: [SLUG] Invalid credentials error code 49

 

This one time, at band camp, Selim Jahangir wrote:

>Hi

> 

>Does any one know wthat is the solution for the following error messages

> 

>

> 

>Ldap_bind: Invalid credentials [49]. Please give very specific solution.

>It is not just of password or dc is worng.

 

Waiting 45 minutes before asking your question again is pretty rude.

 

If ldap_bind is telling you that you have invalid credentials, then your

password or bind DN is wrong.

 

Please throw us a bone if you'd like a more specific answer than that.

Start with your complete ldapadd commandline and perhaps the full

slapd.conf.

--

SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/

Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to