LDAP search
Hi. According to my boss, I need to become an openLDAP guru in about two hours. So I might be asking a lot of LDAP questions. :)
First question: When using ldapsearch, what is the syntax if you want more than one filter applied? For example, if Code:
ldapsearch -h ldap.example.com -b dc=example,dc=com "(sn=Harold)" Code:
ldapsearch -h ldap.example.com -b dc=example,dc=com "(givenName=Frank)" |
"and" them.
Code:
"(&(sn=Harold)(givenName=Frank))" |
Quote:
Wow, that sure is some very /natural/ syntax they picked there. It's a wonder we're not all LDAP gurus. :) |
All times are GMT -5. The time now is 07:03 AM. |