cns_get_all_ldap_groups
cns_get_group_members_raw_ldap
cns_get_ldap_hash
cns_get_members_groups_ldap
cns_group_cnsid_to_ldapcn
cns_group_ldapcn_to_cnsid
cns_group_ldapcn_to_ldapgid
cns_group_ldapgid_to_cnsid
cns_is_ldap_member_potential
cns_is_on_ldap
cns_ldap_authorise_login
cns_ldap_bind
cns_ldap_connect
cns_ldap_get_member_primary_group
cns_ldap_guess_email
cns_ldap_hash
cns_long_cn_to_short_cn
cns_member_cnsid_to_ldapcn
cns_member_ldapcn_to_cnsid
get_group_class
get_mapped_admin_group
get_mapped_users_group
get_member_class
group_property
group_search_qualifier
ldap_escape
ldap_get_login_string
ldap_unescape
member_property
member_search_qualifier
LDAP_OPT_DIAGNOSTIC_MESSAGE
cns_get_all_ldap_groups() : array
cns_get_group_members_raw_ldap(array $members, \GROUP $group_id, boolean $include_primaries, boolean $non_validated, boolean $include_secondaries)
| package | ldap |
|---|
arrayThe list is written into this.
\GROUPThe ID of the usergroup.
booleanWhether to include those in the usergroup as a primary member.
booleanWhether to include those applied to join the usergroup, but not validated in.
booleanWhether to include those in the usergroup as a secondary member.
cns_get_ldap_hash(string $cn) : \?string
cns_get_members_groups_ldap(\?MEMBER $member_id) : array
| package | ldap |
|---|
\?MEMBERThe member to find the usergroups of (null: current member).
arrayReverse list (e.g. array(1=>true,2=>true,3=>true) for someone in (1,2,3)).cns_group_cnsid_to_ldapcn(\GROUP $id) : \?SHORT_TEXT
| package | ldap |
|---|
\GROUPThe Conversr ID.
\?SHORT_TEXTThe named LDAP usergroup (null: none).cns_group_ldapcn_to_cnsid(string $cn) : \?GROUP
cns_group_ldapcn_to_ldapgid(string $cn) : \?integer
| package | ldap |
|---|
stringThe named LDAP usergroup.
\?integerThe LDAP usergroup ID (null: none).cns_group_ldapgid_to_cnsid(integer $gid) : \?GROUP
| package | ldap |
|---|
integerThe LDAP ID.
\?GROUPThe Composr-ID (null: could not find).cns_is_ldap_member_potential(string $cn) : boolean
cns_is_on_ldap(\SHORT_TEXT $cn) : boolean
cns_ldap_bind()
| package | ldap |
|---|
cns_ldap_get_member_primary_group(\MEMBER $member_id) : \GROUP
cns_ldap_guess_email(\ID_TEXT $cn) : \SHORT_TEXT
| package | ldap |
|---|
\ID_TEXTThe CN of the member.
\SHORT_TEXTGuessed e-mail address (blank: couldn't find).cns_ldap_hash(string $cn, string $password) : string
| package | ldap |
|---|
stringThe username (we use this to extract the hash algorithm being used by the member).
stringThe password.
stringThe hashed password.cns_long_cn_to_short_cn(string $long, string $type) : string
| package | ldap |
|---|
stringThe long one.
stringThe type (e.g. CN, DN).
stringThe short one.cns_member_cnsid_to_ldapcn(integer $id) : \?SHORT_TEXT
| package | ldap |
|---|
integerThe Composr member-ID.
\?SHORT_TEXTThe username (null: none).cns_member_ldapcn_to_cnsid(string $cn) : \?integer
| package | ldap |
|---|
stringThe username.
\?integerThe Composr member-ID (null: none).get_group_class() : string
get_mapped_admin_group() : string
get_mapped_users_group() : string
get_member_class() : string
group_property() : string
group_search_qualifier() : string
ldap_escape(string $str, boolean $for_dn = false) : string
| package | ldap |
|---|
stringThe value.
booleanWhether this is for use in a DN string.
stringThe escaped value.ldap_get_login_string(string $cn) : string
ldap_unescape(string $str) : string
member_property() : string
member_search_qualifier() : string