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
Last revisionBoth sides next revision
active_directory [2020/04/11 16:08] smyers119active_directory [2020/04/11 16:29] smyers119
Line 17: Line 17:
  
 ==== Config Changes in eFa ==== ==== Config Changes in eFa ====
 +Editing the config in /var/www/html/mailscanner/conf.php (around line 70) 
 +<file> 
 +// LDAP settings for authentication 
 +define('USE_LDAP', true);   
 +define('LDAP_HOST', 'ldaps://dc1.example.com');  
 +define('LDAP_PORT', '369'); 
 +define('LDAP_DN', 'DC=example,DC=com'); 
 +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_FILTER', 'mail=%s'); //%s will be replaced by username eg. 'mail=%', 'mail=SMTP:%s', 'sAMAccountName=%s' 
 +define('LDAP_PROTOCOL_VERSION', 3); 
 +</file>
  
active_directory.txt · Last modified: 2020/04/11 16:29 by smyers119