Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP-Client: Using Filter in ldap.cfg (userbasedn)

Status
Not open for further replies.

xia777

MIS
Mar 16, 2010
4
0
0
DE
Hello,

I have configurated an user authentication against Active Directory on AIX.

In the ldap.cfg file I want to use a filter to select special users. I've set the following entry:

userbasedn: DC=local,OU=Users??(&(objectclass=user)(company=IT))

But the ldap Client cannot detect any user.

According to AIX Help the syntax is to use in that way.
I've tested the Filter by an LDAP Browser and there are positive results. So I think that the filter syntax isn't the problem.

Is there a parameter to set in ldap.cfg to use filters?
I've tested several variants of syntax but it doesn't run.

Does anyone use filters in that way?

Thanks in advance.
 
I've found a solution.
The problem is the OU (I don't know why) .

If I set the
userbasedn to DC=local??(&(objectclass=user)(company=IT))
there are positive matches and it works fine.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top