Description Usage Arguments Details Value Examples
This function serves as interface to the console function ldapsearch. It allows to bind to a LDAP server and search for attributes. The syntax of this function is based on the syntax of ldapsearch http://www.openldap.org/software/man.cgi?query=ldapsearch&sektion=1&manpath=OpenLDAP+2.4-Release
1 |
... |
Parameters for the call to ldapsearch. Each parameter must be named (e.g. h for the host definition) and may also be NULL for an parameter without value. Some values, like D must be double quoted for evaluation within quotes. |
This package requires the library openldap to be installed (https://www.openldap.org/).
Named list of returned attributes or NULL if the call wasn't successful.
1 | ldapsearch(x = NULL, h = 'ldap.myhost.org', D = '"QueryUserName\@myDomain"', w = 'QueryUserPassword', b = '"CN=SomeUser,OU=Users,DC=SomeDomain"')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.