Annotated edit history of
LDAPURLs version 3, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
JamesSpooner |
1 |
[LDAP] has a URL syntax for a uniform method of searching LDAP Databases etc. |
|
|
2 |
|
|
|
3 |
ldap://<ldap_server>[[:<port>]/[[basedn]?[[attribute]?[[searchtype]?[[(<filter>)] |
|
|
4 |
|
|
|
5 |
For example the search: |
|
|
6 |
|
|
|
7 |
ldap://adserver.somewhere.co.nz:389/dc=somewhere,dc=co,dc=nz?sAMAccountName?sub?(sAMAccountName=someusername) |
|
|
8 |
|
|
|
9 |
Will return all the sAMAccountName from anywhere under BASEDN dc=somewhere,dc=co,dc=nz on server adserver.somewhere.co.nz where the sAMAccountName=someusername. |
|
|
10 |
|
|
|
11 |
This is particularly useful for querying ActiveDirectory servers for usernames. |
3 |
JamesSpooner |
12 |
----- |
1 |
JamesSpooner |
13 |
CategoryInteroperability |