[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Invalid Credentials Error



Hi,

I think you should specify -x in case of ldapadd .

BW,

Andras.

>   -----Original Message-----
>   From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Irving Carrion
>   Sent: 17 June 2002 20:40
>   To: 'openldap-software@OpenLDAP.org'
>   Subject: Invalid Credentials Error
>
>
>   Every time use the ldapadd command below I get the following error
> message:
>
>
>
>   COMMAND:    /usr/local/bin/ldapadd -D "dc=abcdomain,dc=com" -W <
> aisdefault.ldif
>
>
>
>   ERROR I GET: Invalid credentials
>
>
>
>   When it asks for a password, I type in "secret"  which is located in the
> slapd.conf file below.
>
>
>
>   I have read the docs, but I know I'm overlooking something stupid... I
> just wish I could pin point it.
>
>
>
>   Any help will be HIGHLY appreciated!
>
>
>
>
>
>   ##########    BEGIN OF SLAPD.CONF#######################
>
>   # This is the main ldapd configuration file. See slapd.conf(5) for more
>
>   # info on the configuration options.
>
>
>
>   # Schema and objectClass definitions
>
>   include         /usr/local/etc/openldap/schema/core.schema
>
>   include         /usr/local/etc/openldap/schema/cosine.schema
>
>   include         /usr/local/etc/openldap/schema/inetorgperson.schema
>
>   include         /usr/local/etc/openldap/samba.schema
>
>
>
>   # Schema check allows for forcing entries to
>
>   # match schemas for their objectClasses's
>
>   schemacheck     on
>
>
>
>   pidfile         /usr/local/var/slapd.pid
>
>   argsfile        /usr/local/var/slapd.args
>
>
>
>   #######################################################################
>
>   # ldbm database definitions
>
>   #######################################################################
>
>
>
>   # The backend type, ldbm, is the default standard
>
>   database        ldbm
>
>
>
>   # The base of your directory
>
>   suffix          "dc=abcdomain,dc=com"
>
>
>
>   # Admin account - Hard Coded. Remove!
>
>   rootdn "cn=root,dc=abcdomain,dc=com"
>
>   rootpw "secret"
>
>
>
>   directory       /usr/local/var/openldap-ldbm
>
>   # Indexing options
>
>   index objectClass eq
>
>
>
>   # Save the time that the entry gets modified
>
>   lastmod on
>
>
>
>   # 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,dc=abcdomain,dc=com" write
>
>           by anonymous auth
>
>           by self write
>
>           by * none
>
>   ##############END OF SLAPD.CONF###########
>
>