From 48a241386709df10376a19c582563161ad387163 Mon Sep 17 00:00:00 2001
From: godog <godog@autistici.org>
Date: Sat, 21 Jun 2014 01:29:42 +0100
Subject: [PATCH] rename ldap service map

since we drop /etc/pam.d/dovecot the service name sent from pam is 'dovecot',
also nginx-mail-mapper has been integrated into authserv now.
---
 debian/ai-auth-server.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/ai-auth-server.conf b/debian/ai-auth-server.conf
index 0e6a7ba..fc4dd85 100644
--- a/debian/ai-auth-server.conf
+++ b/debian/ai-auth-server.conf
@@ -9,8 +9,8 @@ host = socket.gethostname().split('.')[0]
 
 LDAP_SERVICE_MAP = {
 
-    # Mail accounts (dovecot, nginx-mail-mapper).
-    'mail': {
+    # Mail accounts (dovecot).
+    'dovecot': {
         'base': 'ou=People, dc=investici, dc=org, o=Anarchy',
         'filter': '(&(objectClass=virtualMailUser)(status=active)(mail=%(user)s))',
     },
-- 
GitLab