Commit Graph

49 Commits

Author SHA1 Message Date
21f86fd4e6 [zmldapsync] Handle locked accounts 2022-01-16 22:03:06 +01:00
656f4dbfbf [zmldapsync] Another spacing issue 2022-01-15 16:48:26 +01:00
5deeeb3792 [zmldapsync] spacing fixes 2022-01-15 16:17:00 +01:00
Daniel Berteaud
732d240885 Fix for newer perl 2021-09-23 17:35:34 +02:00
Daniel Berteaud
399f086a1a More typo corrections 2021-08-23 17:16:38 +02:00
Daniel Berteaud
d451500801 Typo in README 2021-08-23 17:13:40 +02:00
Daniel Berteaud
b7f24f9136 More checks for empty / undefined attr for groups 2020-10-09 08:46:37 +02:00
Daniel Berteaud
09542e6b00 Handle logging when attr change from an empty value to soething else 2020-10-08 18:08:00 +02:00
Daniel Berteaud
593c1f42d3 Replace spaces with a dash (mainly for group -> distribution list) 2020-10-08 11:40:41 +02:00
Daniel Berteaud
15bfb7cd4a Typos in README 2020-07-23 14:52:12 +02:00
Daniel Berteaud
995a3921d9 When failing to create a snapshot, restart stopped services before dying 2019-12-04 21:46:25 +01:00
Daniel Berteaud
2592b82c31 Try harder to restart ldap, if it's failing
In case it won't restart, restart all zimbra services, prevents mailboxd going crasy and filling GB of logs about not being able to contact LDAP
2019-12-03 15:02:47 +01:00
Daniel Berteaud
ba36653cd4 Don't run tset as it make the script hangs sometimes 2019-11-20 17:18:29 +01:00
Daniel Berteaud
4f96f4d44a Fix user alias creation for non default domains 2019-11-20 16:48:11 +01:00
Daniel Berteaud
2c4e81f70b When creating a domain, first create, then configure
createDomain does not accept +zimbraAuthLdapURL (multi-value attr)
2019-11-20 16:36:29 +01:00
Daniel Berteaud
04aa834976 Fallback to system's sendmail if the one from Zimbra isn't installed
This will be the case if you run mailboxd and mta on different servers
2019-11-20 15:46:44 +01:00
Daniel Berteaud
5867c0b54e Typo in zmldapsync README 2019-10-31 12:33:05 +01:00
Daniel Berteaud
b79a215211 Add support for domain configuration in zmldapsync 2019-10-31 11:49:46 +01:00
Daniel Berteaud
3e858dd880 Add support for managing domain aliases from the yaml config file 2019-10-31 11:16:16 +01:00
Daniel Berteaud
4cf4ae59ae Don't fail if not domain is defined in zmldapsync conf 2019-10-24 15:34:09 +02:00
Daniel Berteaud
84b4dc745e Fix handling main mail attr as a Zimbra alias 2019-09-05 22:48:25 +02:00
Daniel Berteaud
bf6dc08be3 Add zmbh script, a simple backup helper 2019-08-14 19:02:03 +02:00
Daniel Berteaud
f80d13de91 Support ADPassword listener 2019-07-25 13:20:29 +02:00
Daniel Berteaud
00d6b23cec Only run tset if running in a interractive tty 2019-07-24 16:16:41 +02:00
Daniel Berteaud
b9261c3ba4 Cannot mix attr with +attr 2019-07-19 19:55:54 +02:00
Daniel Berteaud
14e01eb512 Fix spacing when using muiltiple LDAP servers 2019-07-19 19:44:42 +02:00
Daniel Berteaud
d25568e2de Fix default conf file 2019-07-19 19:42:06 +02:00
Daniel Berteaud
a8a23932e6 Spacing issues 2019-07-18 20:14:23 +02:00
Daniel Berteaud
c80c7fcec2 Also exclude system resources from user searches 2019-07-18 20:07:49 +02:00
Daniel Berteaud
c9c551005e Stupid typo 2019-07-17 13:02:46 +02:00
Daniel Berteaud
a620203b99 Don't skip admin and simplify system account filter 2019-07-17 13:01:03 +02:00
Daniel Berteaud
3513978e90 Fix membership handling for rfc2307 style schema 2019-07-17 12:53:21 +02:00
Daniel Berteaud
2f52692a8b Fix dedup aliases 2019-07-17 12:42:30 +02:00
Daniel Berteaud
f6f14a81c5 Dedup LDAP aliases in zimbraNotes 2019-07-17 12:39:31 +02:00
Daniel Berteaud
fe34c0ddf0 More fixes on reading single valued attr which are mapped to Zimbra 2019-07-17 12:36:04 +02:00
Daniel Berteaud
4bf1cfa163 Some fixes with multi or single valued attr 2019-07-17 12:30:13 +02:00
Daniel Berteaud
57a6ff5e38 Ignore admin user in external LDAP
as it's already excluded in Zimbra
2019-07-17 12:23:05 +02:00
Daniel Berteaud
74462e1c01 Fix configuring LDAP auth 2019-07-17 09:52:55 +02:00
Daniel Berteaud
993d9a06d6 Fix missing closing curly bracket 2019-07-17 09:51:07 +02:00
Daniel Berteaud
0e6b214078 For main email and attr_map, only take the first value 2019-07-17 09:48:43 +02:00
Daniel Berteaud
63b75db468 Set zimbraAuthLdapExternalDn during user creation 2019-07-17 09:31:53 +02:00
Daniel Berteaud
59a6ad13b6 Fix email notification from a previous refactoring 2019-07-17 09:21:39 +02:00
Daniel Berteaud
3ff093aa26 Provides defaults for the zimbra section 2019-07-17 09:19:30 +02:00
Daniel Berteaud
9a26a70f06 Fix some typo 2019-07-17 09:19:09 +02:00
Daniel Berteaud
556172241b Do not use attr_maps defaults when some are provided in the config 2019-07-17 09:05:10 +02:00
Daniel Berteaud
1fa3ccb2d7 Mainly cosmetic changes 2019-07-17 09:01:23 +02:00
Daniel Berteaud
665f663846 More advanced ldap_sync script
including alias and groups -> dl
2019-07-16 18:59:44 +02:00
Daniel Berteaud
2700ea82d9 Import WIP script ldap_sync.pl
Able to sync users and their info. Still need to work for alias and groups -> distribution list
2019-07-10 08:30:36 +02:00
Daniel Berteaud
ec97b322ef Initial commit 2019-07-10 08:26:34 +02:00