Article

khurni's picture
article
Reads:

5965

Score:
5
5
1
 
Comments:

0

A Sneaky Approach to LDAP Queries

Author Info

20 February 2008 - 9:32am
Submitted by: khurni

(View Disclaimer)

Problem

Ever had a hard time trying to make an LDAP query when you're not really an LDAP expert? Having to remember all the parentheses and command syntaxes is a bit difficult, especially if the program you're using has pre-defined queries for things other than eDirectory. Well, here's a sneaky way to get a query built.

Solution

1. Login to iManager 2.6.

2. Click Groups > Create Group.

3. When you create the group, select the checkbox for: Dynamic Group.

4. After you finish creating the group, modify it and go to the Dynamic tab. (Or, you could always use a pre-existing Dynamic Group).

5. Find the Search Filter section and click the little icon that has the arrows on it. This is your friend, the Query Builder. From here, you get a nice GUI method for generating queries.

6. Generate your LDAP query.

7. Click OK.

You'll notice that the Search Filter has now been updated with the query syntax that you can copy/paste into virtually any program for your LDAP query.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell