You are here

public property LdapUserConf::$ldapUserSynchMappings in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_user/LdapUserConf.class.php \LdapUserConf::ldapUserSynchMappings

Synch mappings configured in ldap user module (not in other modules) array of the form: array( LDAP_USER_PROV_DIRECTION_TO_DRUPAL_USER | LDAP_USER_PROV_DIRECTION_TO_LDAP_ENTRY => array( 'sid' => <server_id> (redundant) 'ldap_attr' => e.g. [sn] 'user_attr' => e.g. [field.field_user_lname] (when this value is set to 'user_tokens', 'user_tokens' value is used.) 'user_tokens' => e.g. [field.field_user_lname], [field.field_user_fname] 'convert' => 1|0 boolean indicating need to covert from binary 'direction' => LDAP_USER_PROV_DIRECTION_TO_DRUPAL_USER | LDAP_USER_PROV_DIRECTION_TO_LDAP_ENTRY (redundant) 'config_module' => 'ldap_user' 'prov_module' => 'ldap_user' 'enabled' => 1|0 boolean prov_events' => array( of LDAP_USER_EVENT_* constants indicating during which synch actions field should be synched)

  • four permutations available

to ldap: LDAP_USER_EVENT_CREATE_LDAP_ENTRY, LDAP_USER_EVENT_SYNCH_TO_LDAP_ENTRY, to drupal: LDAP_USER_EVENT_CREATE_DRUPAL_USER, LDAP_USER_EVENT_SYNCH_TO_DRUPAL_USER ) ) )

File

ldap_user/LdapUserConf.class.php, line 165

Class

LdapUserConf

Code

public $ldapUserSynchMappings = NULL;