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 revision Previous revision
Last revision Both sides next revision
active_directory [2020/04/11 18:19]
smyers119
active_directory [2020/04/11 18:29]
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', '369'); 
-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.txt · Last modified: 2020/04/11 18:29 by smyers119