check_oldap_grp: Checks whether a given user is member of a specific openldap...

Description Arguments Value Examples

View source: R/ldapqp_grp.R

Description

Function to verify whether a given user is member of a specific openldap group

Arguments

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

Value

Boolean

Examples

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)

physicassio/ldapqp documentation built on Dec. 31, 2020, 2:02 a.m.