User tools

Website tools


active directory

This is an old version of the document!


Active Directory

The connection of a Microsoft Exchange Server is described in detail in the article Microsoft Exchange

Authentication via LDAP against the AD

Falls sich die Benutzer mit ihren Active Directory Accounts anmelden sollen, wird die Authentiserung per LDAP Bind gegen das Active Directory konfiguriert.

Zur Authentisierung gegen LDAP wird das das entsprechend Authentisierungsmodul in der Datei /etc/benno-web/benno.conf aktiviert. Dieses erfolgt durch den Parameter EXTERNAL_AUTH. Falls dieser auskommentiert ist, wird das Kommentarzeichen entfernt und der Pfad zum Modul wie folgt eingetragen.

EXTERNAL_AUTH = /srv/benno/bennoweb/lib/benno_auth

configuration

To authenticate against the LDAP directory of an Active Directory domain, a user with read permissions on the directory is required in Active Directory. Before the actual authentication, this user performs a search of the directory and determines the full distinguished name (DN) of the user to be authenticated.

Alias ​​addresses

Active Directory sieht per Default keine E-Mail Alias Adressen für die Benutzer vor. Mit der Aktivierung des Attributs proxyAddresses können die Aliase im AD LDAP gespeichert werden.

Die Aktivierung erfolgt automatisch mit Installation eines MS Exchange Servers oder kann auch wie in der Microsoft Technet Dokumentation beschrieben manuell durchgeführt werden.

ldapauth.conf

In der Datei /etc/benno-web/ldapauth.conf werden die Daten für den Domänencontroller eingetragen.

For Active Directory, a minimal configuration is required as follows:

# LDAP host host = dc1.badiburg.lw-systems.net # LDAP Base DN basedn = dc=lw-systems,dc=net # username attribute userattr = sAMAccountName # objectClass for all users objectClass = user # enable tls if true #tls = false # bind with this user for search operations (<username>@<windows-domain>) binddn = benno@lw-systems.net # Password of the bind user password = secret # email attribute email = mail # email alias attribute (with proxyAddresses attribute enabled or MS Exchange Schema extensions installed) #alias = proxyAddresses # List of username who will always assigned the admin role adminuser = administrator
active_directory.1482417428.txt.gz · Zuletzt geändert: 2016/12/22 14:37 von lwsystems