cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 2

OpenLdap Authentication bind user

Hi,

I'd like to know the correct configuration for use the openldap authentication. I have the McAfee Siem 4600 .

In the configuration -> Login Security -> LDAP  I insert this value :

Enabled

IP Address -> Ip address of ldap server

Port -> 389 ( standard port of ldap )

Base Domain Name -> dc=local,dc=com

Group Attribute -> cn=admins,ou=Group,dc=local,dc=com ( here I insert the group that the user belong , group admins)

Group Filter -> (&(objectClass=posixGroup)(memberUid=<<username>>))    (  This is the default value , to check if the user is belong to group admins )

User Filter -> (&(ou=People,dc=local,dc=com)(uid=<<username>>))   ( Where to find the user, under People ).

But on the /var/log/messages i found this

Nov 17 16:12:21 McAfee pdns_recursor[1721]: Failed to update . records, RCODE=2

Nov 17 16:13:02 McAfee cac.pl: Info: Called with getmode

Nov 17 16:13:02 McAfee ldapinit: LDAPINIT: logged in okay!  connection successful

Nov 17 16:13:02 McAfee ldapinit: success=NotOk LDAP Bind:  Code(34) invalid DN

Nov 17 16:13:02 McAfee ldapinit: success=NotOk LDAP Bind:  Code(49) Invalid credentials

Nov 17 16:13:02 McAfee last message repeated 3 times

Nov 17 16:13:02 McAfee cpserviced[2340]: NotOk LDAP Bind: Code(49) Invalid credentials

Nov 17 16:13:02 McAfee libESSDB.so[2340]: User_Login - Invalid login - user1

 

Where I can set the bind user to check if my username and the password is correct ?

1 Reply
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 2

Re: OpenLdap Authentication bind user

To check if the credentials of user1 are correct you can try the following from the CLI of ESM:

ldapsearch -h IP_OF_LDAP_SERVER -b dc=local,dc=com -D user1,ou=People,dc=local,dc=com -W

I recommend checking logs on the OpenLDAP as well.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community