User Tools

Site Tools


ldap:dovecot

Differences

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

Link to this comparison view

ldap:dovecot [2016/11/11 14:22] – created peterldap:dovecot [2019/11/30 13:42] (current) – removed peter
Line 1: Line 1:
-====== LDAP - Dovecot ====== 
- 
-<file bash dovecot.conf> 
-# (...) 
-auth default { 
-  mechanisms = plain login 
-  passdb ldap { 
-    args = /etc/dovecot/dovecot-ldap.conf 
-  } 
-   
-  # Immediately when checking password. 
-  userdb prefetch { 
-  } 
-   
-  # For the SMTP (Postfix/Exim) 
-  socket listen { 
-    client { 
-      path = /var/run/dovecot/auth-client 
-      group = sasl 
-      mode = 0660 
-    } 
-  } 
-} 
-# (...) 
-</file> 
- 
- 
-The Dovecot 2.x configuration is similar, only distributed in separate files, see the 10-auth.conf (included at the end), auth-ldap.conf.ext, 10-master.conf (instead of "listen socket" will "unix_listener '). 
- 
-<file bash dovecot-ldap.conf> 
-uris = ldapi:// 
-dn = uid=dovecot,ou=System,dc=example,dc=com 
-dnpass = haslo 
-auth_bind = yes 
-ldap_version = 3 
-base = dc=example,dc=com 
-scope = subtree 
-pass_attrs = uid=user,userPassword=password,homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid 
-</file> 
- 
  
ldap/dovecot.1478874140.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki