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

Re: ldapadd error [LDAP Server is V2: execute command with LDAP V2...]

Users to new LDAP should take questions to the openldap-software@openldap.org
list first, rather than reporting a bug.  It appears that you have an
LDAPv3 client talking to an LDAPv2 server.  This might happen if, for example,
Solaris has their own version of ldapadd (v3) which you are using to talk
to a released OpenLDAP (v2).

I suggest you try 'which ldapadd' or 'where ldapadd' to discover the path
to the executable actually being used, and make sure it is the one installed
by the OpenLDAP installation.

If you need to post another question, do it to the software list and include
what version of Solaris, and what version of OpenLDAP you got.


> Hi,
> I am new to LDAP. I have installed OpenLDAP on Solaris and I tried ldapadd
> with the following syntax 
> 	$ldapadd -D "cn=root, o=MYORG, c=US" -w mypassword <<EOR
>   	?dn: o=MYORG, c=US
>   	?o: MYORG
>   	?objectclass: organization
>   	?EOR
> 	$
> as shown in
> http://www.sunworld.com/sunworldonline/swol-07-1999/swol-07-ldap-2.html
> I get the following error:
> LDAP Server is V2: execute command with LDAP V2...
> ldap_simple_bind_s: Invalid credentials
> Please let me know what could be the reason.
> Thanks in advance for any king of help
> -Jagan