User Tools

Site Tools


active_directory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
active_directory [2020/04/11 16:19] smyers119active_directory [2020/04/11 16:29] (current) smyers119
Line 17: Line 17:
  
 ==== Config Changes in eFa ==== ==== Config Changes in eFa ====
-Editing the config in /var/www/html/mailscanner/conf.php+Editing the config in /var/www/html/mailscanner/conf.php (around line 70)
 <file> <file>
-// LDAP Settings +// LDAP settings for authentication 
-define('USE_LDAP',        true); +define('USE_LDAP', true);   
-define('LDAP_HOST',      'server.example.com'); +define('LDAP_HOST', 'ldaps://dc1.example.com');  
-define('LDAP_PORT',      '389'); +define('LDAP_PORT', '636'); 
-define('LDAP_DN',        'DC=example,DC=com'); +define('LDAP_DN', 'DC=example,DC=com'); 
-define('LDAP_USER',      'example\username'); +define('LDAP_USER', 'example\user'); // If no email set: cn=admin,dc=example,dc=com <--THIS DID NOT WORK FOR ME 
-define('LDAP_PASS',      'secret'); +define('LDAP_PASS', 'secret'); 
-define('LDAP_SITE',      'default-first-site-name');+define('LDAP_FILTER', 'mail=%s'); //%s will be replaced by username eg. 'mail=%', 'mail=SMTP:%s', 'sAMAccountName=%s' 
 +define('LDAP_PROTOCOL_VERSION', 3);
 </file> </file>
  
active_directory.1586621959.txt.gz · Last modified: 2020/04/11 16:19 by smyers119