Unsolved

This post is more than 5 years old

Moderator

 • 

750 Posts

1114

January 26th, 2012 23:00

why LDAP bind by anonymous?

Dear ALL,

Now I'm tring to configuration LDAP environment.

  I've run command bellow.

$server_ldap server_2 -set -p -basedn dc=mydomain,dc=local -servers 192.168.100.1 -binddn cn=admin,ou=Users,dc=mydomain,dc=local

My LDAP server disallow anonymous bind and allow the password bind.

  I think so can bind to LDAP using -p option, but I've get error message on server_log.

LDAP: 3: LdapDomain::connectToConfigurationServer Unable to connect to 192.168.100.1:389 - anonymous bind disallowed(48)

Why my vnx try to bind by anonymous bind?

  Please let me know any advice.

Best Regards.

275 Posts

January 27th, 2012 00:00

Are you sure there is no typo on the -p (beware of cut/paste) or is it at the right place in the list

Have you tried to reset the configuration whith -clear option?

Claude

Moderator

 • 

750 Posts

January 27th, 2012 03:00

Thank you for your information.

Yes I have checked password and other parameters, clear LDAP configuration.

And I have changed configuration to allow anonymous bind on the LDAP Server and tried to bind anonymous same command.

The result is OK!

Do you have configuration by password bind?

Nori.

275 Posts

January 29th, 2012 01:00

Here is an example:

$ server_ldap server_2 -set -p -basedn dc=my-domain,dc=com -servers 192.168.1.1,192.168.1.2 -binddn "cn=admin,ou=profile,dc=mydomain,dc=com"

passwd : xxxxxxx

$ done

This was with Oracle/SUN Ldap so the "admin" is located in a different OU than yours

Note that the command prompts for a password

Claude

Moderator

 • 

750 Posts

January 29th, 2012 17:00

Thank you for your information.

This Case may be issue on OpenLDAP I think.

I'll try to contact OpenLDAP vendor.

No Events found!

Top