1. Zhang Huangbin
  2. iredmail

Commits

Zhang Huangbin  committed c5aeadd

[ldap] Add enabledService=dsync by default.

  • Participants
  • Parent commits 562a0f7
  • Branches default

Comments (0)

Files changed (4)

File iRedMail/conf/openldap

View file
  • Ignore whitespace
 export LDAP_SERVICE_DISPLAYED_IN_ADDRBOOK='displayedInGlobalAddressBook'
 export LDAP_SERVICE_LIB_STORAGE='lib-storage'
 export LDAP_SERVICE_INDEXER_WORKER='indexer-worker'
+export LDAP_SERVICE_DSYNC='dsync'
 export LDAP_SERVICE_DOMAIN_ADMIN='domainadmin'
 
 # Shared attributes.

File iRedMail/functions/ldap_server.sh

View file
  • Ignore whitespace
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_SHADOW_ADDRESS}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_LIB_STORAGE}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_INDEXER_WORKER}
+${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_DSYNC}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_DOMAIN_ADMIN}
 ${LDAP_ATTR_DOMAIN_GLOBALADMIN}: yes
 EOF

File iRedMail/tools/create_mail_user_OpenLDAP.py

View file
  • Ignore whitespace
         ('homeDirectory',       [homeDirectory]),
         ('accountStatus',       ['active']),
         ('mtaTransport',        ['dovecot']),
-        ('enabledService',      ['internal', 'doveadm', 'lib-storage', 'indexer-worker',
+        ('enabledService',      ['internal', 'doveadm', 'lib-storage', 'indexer-worker', 'dsync',
                                  'mail', 'smtp', 'smtpsecured',
                                  'pop3', 'pop3secured', 'imap', 'imapsecured',
                                 'deliver', 'lda', 'forward', 'senderbcc', 'recipientbcc',

File iRedMail/tools/create_mail_user_OpenLDAP.sh

View file
  • Ignore whitespace
 enabledService: doveadm
 enabledService: lib-storage
 enabledService: indexer-worker
+enabledService: dsync
 enabledService: mail
 enabledService: pop3
 enabledService: pop3secured