

Search only returns simply the object which was given as the search base The last parameter ' subtree' effects the search to be In most cases - as a result we receive the LDAP The general rules for LDAP filters describedįurthermore, we need to specify the object property or attribute which This filter determines the criteria which are Has always to be a complete LDAP pathname.Īdditionally, we have to configure an LDAPįilter.

You can specified a Active Directory domain also. This is the container where the objects are searched for - including in In this search we have to specify the so-called search base: the row is omitted entirely) is the only way to communicate with the server in a VBScript.It is best to establish then the connection within an SSL tunnel (LDAPS on port 636).Ĭan be chosen - he is used for internal system identification purposes
LDAP QUERY USER OBJECTS WITHIN A SPECIED OU PASSWORD
However, if you perform a search in another LDAP directory than Active Directory, often a Simple Bind ( "Encrypt Password = False resp. If you use explicite logon credentials and omit "Encrypt Password" = True, then the user data and LDAP requests are sent unencrypted over the network - this is not advisable.

If you omit the credentials in the parameters "User ID" and "Password" by simply dropping the appropriate lines in the script, the search will be performed with the currently logged on user ID - needless to say that you must have the permission on the regarding LDAP directory in this case. For a logon name you can use all kinds of notation which are described
