Hi,

I'm new user with difficulties to write sogo.conf file, and particularly in focus with web interface login. I followed documentation and I success to login with java ldap browser with sogo ldap user uid. But I fail to connect with web interface.

My sogo DN user is : uid=sogo,ou=users,dc=gelin,dc=fr

And this is my sogo conf file :

   {
   SOGoProfileURL = 
"postgresql://sogo:####@127.0.0.1:5432/sogo/sogo_user_profile";
   OCSFolderInfoURL = 
"postgresql://sogo:####@127.0.0.1:5432/sogo/sogo_folder_info";
   OCSSessionsFolderURL = 
"postgresql://sogo:####@127.0.0.1:5432/sogo/sogo_sessions_folder";
   OCSEMailAlarmsFolderURL = 
"postgresql://sogo:####@127.0.0.1:5432/sogo/sogo_alarms_folder";
   SOGoLanguage = French;
   SOGoAppointmentSendEMailNotifications = YES;
   SOGoMailingMechanism = smtp;
   SOGoSMTPServer = 127.0.0.1;
   SOGoTimeZone = UTC+1;
   SOGoSentFolderName = Sent;
   SOGoTrashFolderName = Trash;
   SOGoDraftsFolderName = Drafts;
   SOGoIMAPServer = "imaps://localhost:143/?tls=YES";
   SOGoSieveServer = "sieve://localhost:4190/?tls=YES";
   SOGoIMAPAclConformsToIMAPExt = YES;
   SOGoVacationEnabled = NO;
   SOGoForwardEnabled = NO;
   SOGoSieveScriptsEnabled = NO;
   SOGoFirstDayOfWeek = 0;
   SOGoMailMessageCheck = manually;
   SOGoMailAuxiliaryUserAccountsEnabled = NO;

   SOGoUserSources = (
            {
            type = ldap;
            CNFieldNAme = cn;
            IDFieldName = uid;
            UIDFieldName = uid;
            IMAPHostFieldName = mailhost;
            baseDN = "ou=users,dc=gelin,dc=fr";
            bindDN = "uid=sogo,ou=users,dc=gelin,dc=fr";
            bindPassword = #######;
            canAuthenticate = YES;
            passwordPolicy = YES;
            displayName = "Shared Adresses";
            hostname = "ldap://127.0.0.1:389";;
            id = public;
            isAdressBook = YES;
            }
   );
   }

I tested with passwordPolicy = YES; and passwordPolicy = NO;but without success. My question is to know the login name I have to enter into formula : The uid "sogo" ? The given name "SOGo" ? The surname "Administrator" ? the sogo DN ? I can't find out the documentation chapter about it ...

By the way postreSAL is installed. But I can't understand to test a login with it... Do I have to add manualy the admin login into postgreSQL before to test login with it ? (I understand I have to add authentication using SQL too).

Thank you for your help.


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

Reply via email to