45 $this->family =
"interface";
47 $this->module_position =
'30';
49 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
52 $this->version =
'dolibarr';
53 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
57 $this->picto =
'technic';
60 $this->dirs = array(
"/ldap/temp");
63 $this->config_page_url = array(
"ldap.php");
66 $this->hidden =
false;
67 $this->depends = array();
68 $this->requiredby = array();
69 $this->conflictwith = array();
70 $this->phpmin = array(7, 0);
74 0=>array(
'LDAP_SERVER_TYPE',
'chaine',
'openldap',
'', 0),
75 1=>array(
'LDAP_SERVER_PROTOCOLVERSION',
'chaine',
'3',
'', 0),
76 2=>array(
'LDAP_SERVER_HOST',
'chaine',
'localhost',
'', 0),
77 3=>array(
'LDAP_USER_DN',
'chaine',
'ou=users,dc=example,dc=com',
'', 0),
78 4=>array(
'LDAP_GROUP_DN',
'chaine',
'ou=groups,dc=example,dc=com',
'', 0),
79 5=>array(
'LDAP_FILTER_CONNECTION',
'chaine',
'&(objectClass=inetOrgPerson)',
'', 0),
80 6=>array(
'LDAP_FIELD_LOGIN',
'chaine',
'uid',
'', 0),
81 7=>array(
'LDAP_FIELD_FULLNAME',
'chaine',
'cn',
'', 0),
82 8=>array(
'LDAP_FIELD_NAME',
'chaine',
'sn',
'', 0),
83 9=>array(
'LDAP_FIELD_FIRSTNAME',
'chaine',
'givenname',
'', 0),
84 10=>array(
'LDAP_FIELD_MAIL',
'chaine',
'mail',
'', 0),
85 11=>array(
'LDAP_FIELD_PHONE',
'chaine',
'telephonenumber',
'', 0),
86 12=>array(
'LDAP_FIELD_FAX',
'chaine',
'facsimiletelephonenumber',
'', 0),
87 13=>array(
'LDAP_FIELD_MOBILE',
'chaine',
'mobile',
'', 0),
88 14=>array(
'LDAP_GROUP_FILTER',
'chaine',
'&(objectClass=groupOfNames)',
'', 0),
89 15=>array(
'LDAP_USERACCOUNTCONTROL',
'int', 512,
'', 0),
93 $this->boxes = array();
96 $this->rights = array();
97 $this->rights_class =
'ldap';