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 |
---|
array
The list is written into this.
\GROUP
The ID of the usergroup.
boolean
Whether to include those in the usergroup as a primary member.
boolean
Whether to include those applied to join the usergroup, but not validated in.
boolean
Whether 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 |
---|
\?MEMBER
The member to find the usergroups of (null: current member).
array
Reverse 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 |
---|
\GROUP
The Conversr ID.
\?SHORT_TEXT
The named LDAP usergroup (null: none).cns_group_ldapcn_to_cnsid(string $cn) : \?GROUP
cns_group_ldapcn_to_ldapgid(string $cn) : \?integer
package | ldap |
---|
string
The named LDAP usergroup.
\?integer
The LDAP usergroup ID (null: none).cns_group_ldapgid_to_cnsid(integer $gid) : \?GROUP
package | ldap |
---|
integer
The LDAP ID.
\?GROUP
The 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_TEXT
The CN of the member.
\SHORT_TEXT
Guessed e-mail address (blank: couldn't find).cns_ldap_hash(string $cn, string $password) : string
package | ldap |
---|
string
The username (we use this to extract the hash algorithm being used by the member).
string
The password.
string
The hashed password.cns_long_cn_to_short_cn(string $long, string $type) : string
package | ldap |
---|
string
The long one.
string
The type (e.g. CN, DN).
string
The short one.cns_member_cnsid_to_ldapcn(integer $id) : \?SHORT_TEXT
package | ldap |
---|
integer
The Composr member-ID.
\?SHORT_TEXT
The username (null: none).cns_member_ldapcn_to_cnsid(string $cn) : \?integer
package | ldap |
---|
string
The username.
\?integer
The 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 |
---|
string
The value.
boolean
Whether this is for use in a DN string.
string
The escaped value.ldap_get_login_string(string $cn) : string
ldap_unescape(string $str) : string
member_property() : string
member_search_qualifier() : string