Computing.Net > Forums > Unix > ldap_bind: Invalid credentials

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ldap_bind: Invalid credentials

Reply to Message Icon

Name: Peter
Date: May 23, 2003 at 10:01:48 Pacific
OS: linux
CPU/Ram: 500/256
Comment:

Hi. I have been working on getting my ldap server up and running for a couple of days, and I am really stuck. I am getting the following error

ldap_bind: Invalid credentials

when I try to run the following command

ldapadd -a -W -x -D "cn=Manager,dc=caris,dc=com" -f base.ldif

Here is what my slapd.conf file looks like

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27 20:00:31 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.schema

# 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

# Create a replication log in /var/lib/ldap for use by slurpd.
#replogfile /var/lib/ldap/master-slapd.replog

# Load dynamic backend modules:
# modulepath /usr/sbin/openldap
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la

database ldbm
suffix "dc=caris,dc=com"
#suffix "o=caris,c=com"
#suffix "o=My Organization Name,c=US"
rootdn "cn=Manager,dc=caris,dc=com"
#rootdn "cn=Manager,o=My Organization Name,c=US"
# 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}dxpnBorsL7VZVmEExFRFyHqY2qXhY/B1
# 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
#directory /usr/bin
# Indices to maintain
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq,subinitial


_____________________________________________


Got any suggestions ?

Thanks
Peter



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: ldap_bind: Invalid credentials

HELP!! invalid drive specification www.computing.net/answers/unix/-help-invalid-drive-specification/2300.html

DG/UG Invalid User Group www.computing.net/answers/unix/dgug-invalid-user-group/3821.html

Invalid Partition?!? www.computing.net/answers/unix/invalid-partition/2705.html