host_url)) { $config->host_url = ''; } if (empty($config->ldapencoding)) { $config->ldapencoding = 'utf-8'; } if (!isset($config->contexts)) { $config->contexts = ''; } if (!isset($config->user_type)) { $config->user_type = 'default'; } if (!isset($config->user_attribute)) { $config->user_attribute = ''; } if (!isset($config->search_sub)) { $config->search_sub = ''; } if (!isset($config->opt_deref)) { $config->opt_deref = LDAP_DEREF_NEVER; } if (!isset($config->preventpassindb)) { $config->preventpassindb = 1; } if (!isset($config->bind_dn)) {$config->bind_dn = ''; } if (!isset($config->bind_pw)) {$config->bind_pw = ''; } if (!isset($config->version)) {$config->version = '2'; } if (!isset($config->objectclass)) {$config->objectclass = ''; } if (!isset($config->memberattribute)) {$config->memberattribute = ''; } if (!isset($config->memberattribute_isdn)) {$config->memberattribute_isdn = ''; } if (!isset($config->creators)) {$config->creators = ''; } if (!isset($config->create_context)) {$config->create_context = ''; } if (!isset($config->expiration)) {$config->expiration = ''; } if (!isset($config->expiration_warning)) {$config->expiration_warning = '10'; } if (!isset($config->expireattr)) {$config->expireattr = ''; } if (!isset($config->gracelogins)) {$config->gracelogins = ''; } if (!isset($config->graceattr)) {$config->graceattr = ''; } if (!isset($config->auth_user_create)) {$config->auth_user_create = ''; } if (!isset($config->forcechangepassword)) {$config->forcechangepassword = 0; } if (!isset($config->stdchangepassword)) {$config->stdchangepassword = 0; } if (!isset($config->passtype)) {$config->passtype = 'plaintext';} if (!isset($config->changepasswordurl)) {$config->changepasswordurl = ''; } if (!isset($config->removeuser)) {$config->removeuser = 0; } if (!isset($config->ntlmsso_enabled)) {$config->ntlmsso_enabled = 0; } if (!isset($config->ntlmsso_subnet)) {$config->ntlmsso_subnet = ''; } if (!isset($config->ntlmsso_ie_fastpath)) {$config->ntlmsso_ie_fastpath = 0; } $yesno = array( get_string('no'), get_string('yes') ); if (!function_exists('ldap_connect')) { // Is php4-ldap really there? notify(get_string('auth_ldap_noextension','auth')); } ?>
|
||
version, ''); if (isset($err['version'])) formerr($err['version']); ?> | ||
|
||
preventpassindb, ''); ?> | ||
|
||
ldap_suppported_usertypes(), 'user_type', $config->user_type, ''); ?> | ||
search_sub, ''); ?> | ||
opt_deref, ''); if (isset($err['opt_deref'])) formerr($err['opt_deref']); ?> | ||
|
||
forcechangepassword, ''); ?> | ||
stdchangepassword, ''); ?> | ||
passtype, ''); ?> | ||
|
||
expiration, ''); if (isset($err['expiration'])) formerr($err['expiration']); ?> | ||
gracelogins, ''); ?> | ||
|
||
auth_user_create, ''); ?> | ||
|
||
|
||
removeuser, ''); ?> | ||
|
||
ntlmsso_enabled, '0'); ?> | ||
ntlmsso_ie_fastpath, '0'); ?> |