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

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



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