*I fixed my IMAP4 login issue!*  Thanks for all the help.

One problem was having more than one set of documentation from which to work. I initiated my "build" by following the work of Olivier Bitsch at http://iabsis.com/EN/article/35-3/Samba4-installation and substituting the "cookbooks" produced by Inverse in the "Installation Guide <http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf>" and the "Native Outlook Configuration <http://www.sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf>"

My objective was to "build" a server based on Trusty that used Samba in lieu of OpenLDAP

The solution came down to three issues:

(1) I started by creating the "unprivileged user" described below . . .

samba-tool user create ldap --description="Unprivileged user for LDAP lookups"

And, I substituted "[email protected]" and "ldapPasswd" where necessary.

The Bitsch configuration uses '/etc/dovecot/local.conf' and '/etc/dovecot/dovecot-ldap.conf,' as well as, '/etc/postfix/ldap-aliases.cf' as configuration files in lieu of configuration files mentioned elsewhere.

I consulted the Arch documentation <https://wiki.archlinux.org/index.php/OpenChange_Server#LDAP_configuration_2> as well as others, and I built the Samba AD DC from the Wiki <https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO>

(2) After having created the "unprivileged user," I still had an error connecting . . .

'/var/log/syslog' gave me the error, "Support not compiled in for passdb driver ldap"

After a bit of searching, I came to the following suggestion -- "solved by installing dovecot-ldap <http://dovecot.org/list/dovecot/2011-March/058229.html>"

Voila! *Once I installed dovecot-ldap and restarted services, IMAP4 login succeeded!*

"dovecot-ldap" was not recommended anywhere I had found (not the Bitsch, Inverse or Arch documentation) but it would seem to be VERY IMPORTANT to the success of an IMAP4 installation using Samba "ldap"

(3) Two other issues I have found are as follows . . .

Creating 'sogo'@'localhost' does not work with MariaDB but 'sogo' AND creating 'openchange-user'@'localhost' but simply 'openchange-user' Perhaps it's simply MariaDB but 'localhost' does not play well.

I now have a WORKING Samba AD DC with Dovecot, Postfix, SOGo and OpenChange, the only issue remaining is the completion of a substitute for 'openchange-ocsmanager' in 'python-ocsmanager' but I can wait.

Thanks to everyone for their patience with me, and thanks for all the suggestions.

On 12/30/2014 10:53 AM, jacek burghardt wrote:
Well start by creating user samba-tool user create ldap --description="Unprivileged user for LDAP lookups"
Next create ldap lookup for postfix
https://wiki.archlinux.org/index.php/OpenChange_Server#LDAP_configuration_2



--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to