I recently installed SOGo but it was impossible to authenticate with ldap. I did not use ldap before SOGo and after checking the base I saw that the user records were not there.
/var/service/ldap/ldif-fix -d
gave me a list of changes to make, but
/var/service/ldap/ldif-fix -u
gave me errors on sambapwdlastset attribute
sambapwdlastset:
Failure to modify svg uid =, ou = Users, dc = xxxxxxxx, dc = com: sambapwdlastset: value # 0 per invalid syntax
to work around the problem I put the value 1 for all users with a text editor and integrate these mods with the command ldapadd.
For information, I do not use Samba services