Posted by lindsaym on Tue 1st Dec 15:29 (modification of post by lindsaym view diff)
View followups from lindsaym | diff | download | new post
- //XXX: START OF LDAP Vars
- $this->LDAP_login = TRUE; //Enable LDAP Authentication and replication
- $this->ldap_failover_support = FALSE; //Allow the auth engine to rollover to the local DB auth if LDAP is unreachable
- $this->ldap_tls_enable = FALSE; //Enable TLS encryption on LDAP connections make sure $this->ldap_server and $this->ldap_port use ldap:// and 389 repective
- $this->ldap_zentrack_administator = "administrator";
- $this->ldap_user_dn = 'ou=people,dc=example,dc=ca';
- $this->ldap_base_dn = 'dc=example,dc=ca';
- $this->ldap_user_dn_prefix = 'uid';
- $this->ldap_requiredGroup_dn = 'ou=Groups,dc=example,dc=ca';
- $this->ldap_groupMemberSearch = 'uniquemember';
- $this->ldap_server = 'ldaps://192.168.56.2'; // 'ldaps://' for SSL encrytion 'ldap://' for clear text or TLS
- $this->ldap_port = '636'; // '636' for SSL and '389' for clear or TLS
- $this->ldap_to_ZT_protected_users = array("zenadmin","egate"); //Protected users in ZT user DB that are immune from replication, deletion, or LDAP Authenication
- $this->ldap_default_accessLevel = '2';
- $this->ldap_default_homeBin = '2';
- $this->ldap_delete_orphined_users = FALSE; //If the user is removed from the ZT LDAP group do we delete (TRUE) the user record from ZT DB or mark inactive (FALSE)
- $this->ldapToZTuserMapping = array( //This array holds the ZT user DB fields and their mapped LDAP cousins
- //NOTE: These must be manditory fields in your LDAP/AD schema
- //Modify to suit your schema
- //"ZTDB field"=>"LDAP/AD object"
- "login"=>"uid",
- "lname"=>"sn",
- "fname"=>"givenname",
- "initials"=>"initials",
- "email"=>"mail",
- "notes"=>"description"
- );
- //Active Directory Compatability
- $this->ADcompat = FALSE;
- $this->ldap_AD_domain = 'users.domain.com';
- //XXX: END OF LDAP Vars
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.