Description Arguments Value Examples
Function to verify whether a given user is member of a specific openldap group
server |
The ldap server to query |
bind_dn |
Bind DN used for querying |
bind_pass |
Bind password |
base |
Base DN as entrypoint in the three |
user |
User whose membership to look for |
group |
The group to check for |
verify |
a logical value to verify valid whether the certificate is valid (TLSInsecure). Default is TRUE |
Boolean
1 2 3 4 5 | check_oldap_grp('ldap://myldapserver.com:389',
'cn=bind_user,dc=example,dc=com',
'bind_password',
'cn=base,dc=example,dc=com',
'user','group',verify = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.