Programmierus / ldap-mailcow

LDAP account synchronization and authentication for mailcow-dockerized
97 stars 38 forks source link

LDAP issues #6

Closed osnet closed 4 years ago

osnet commented 4 years ago

Hi, great tool btw ...

remember to add this in the docker-compose.yml

the file ./data/conf/sogo/plist_ldap gets written with ldap://ldap//hostname:port

with your addon one is now able to login with email-address AND sAMAaccountName GREAT

But there is still an issue loggin in via EAS / Active Sync ... you still geht 401 if you dont provide your local password ...

Programmierus commented 4 years ago

Hi, sorry I have not much time now to finish some work on this tool...

As about to config redirection - the tool makes backups for all configs it overwrites...

EAS/ActiveSync/Web GUI please take a look here #5 - I have proposed a solution...

Programmierus commented 4 years ago

So, I've added some changes today (507dd95).

I can reconfirm there is no need to specially restrict extra.conf to read-only: ldap-mailcow backups all scripts.

I have added information to README about enabling WebUI & EAS.

etique57 commented 3 years ago

Hello @Programmierus

Quick question, the extra.conf is indeed backed up but it keeps being rewritten. I already have a command there (disabling encryption for Dovecot) and I lose it each time I start the container. I remember I saw a workaround somewhere but can't find it anymore.

Thanks for any hint!

Ok I found the solution: I put my modification in the template/dovecot/extra.conf file directly :)

Programmierus commented 3 years ago

Hello @etique57, glad you found it. It was mentioned by me in #11. Even though it's not a "workaround", it works as supposed, may be I just poorly documented it.