/build/static/layout/Breadcrumb_cap_w.png

Defining LDAP labels

When I am using the LDAP browser feature to build a LDAP label, I have the option to use the Filter Builder. On the list of Relational Operators, at the bottom of the list, is ~= and !~=. What do these represent? I've looked at table after table of operators and haven't come across these.

Thanks for the help.


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
I would stay away from ~= (i.e. soundex approximate match) because it can yeild odd results. You might test it today and it's great but then tomorrow you add a machine that matches the soundex undesirably. Stick to operators you have a clear understanding of how they work and pertain to conventions in your operands. Wildcards can be very useful. e.g. to return all laptops according to your naming convention samaccountname=*-LPTP on a KBOX this would be useful after adding in one of the KBOX_ variable: (&(samaccountname=*-LPTOP)(samaccountname=KBOX_COMPUTER_NAME)) Note that wildcards are not allowed as portions of derived names (names calculated on the fly) such as distinguishedName
Posted by: GillySpy 12 years ago
7th Degree Black Belt
2

I would stay away from ~= (i.e. soundex approximate match) because it can yeild odd results. You might test it today and it's great but then tomorrow you add a machine that matches the soundex undesirably.  Stick to operators you have a clear understanding of how they work and pertain to conventions in your operands. 

Wildcards can be very useful. e.g.  to return all laptops according to your naming convention

samaccountname=*-LPTP

on a KBOX this would be useful after adding in one of the KBOX_ variable:

 (&(samaccountname=*-LPTOP)(samaccountname=KBOX_COMPUTER_NAME))

Note that wildcards are not allowed as portions of derived names (names calculated on the fly) such as distinguishedName

Posted by: jdornan 12 years ago
Red Belt
0

Proximity:(attribute~=abc)    e.g. (displayName~=Foeckeler) AKA Approximate match

Absence:(!(attribute=*))      e.g. (displayName!~=Foeckler) AKA Approximate NOT

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ