function ldapgroups_is_configured in LDAP integration 6
5 calls to ldapgroups_is_configured()
- ldapgroups_groups_load in ./
ldapgroups.inc - Create an array of LDAP groups related to a dn/user.
- ldapgroups_ldap_user_deny_alter in ./
ldapgroups.module - Implementation of hook_ldap_user_deny_alter.
- ldapgroups_user_login in ./
ldapgroups.inc - Implements hook_user() login operation.
- ldapgroups_user_test_validate in ./
ldapgroups.admin.inc - Validate the supplied test info.
- _ldapgroups_detect_groups in ./
ldapgroups.inc - Detect user groups from the LDAP.
File
- ./
ldapgroups.inc, line 407 - ldapgroups include file.
Code
function ldapgroups_is_configured($sid) {
static $configured = array();
if (!isset($configured[$sid])) {
$configured[$sid] = _ldapgroups_ldap_info($sid, 'ldapgroups_in_dn') || _ldapgroups_ldap_info($sid, 'ldapgroups_in_attr') || _ldapgroups_ldap_info($sid, 'ldapgroups_as_entries');
}
return $configured[$sid];
}