hi all,

i have the same problem on my SOGo installation!!
if i try to enable 2 domain, not log on in SOGo... i have changed "IDFieldName" but not work anywhere
can you help me?
this is my GNUStep:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN"
"http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
<key>NSGlobalDomain</key>
<dict>
</dict>
<key>sogod</key>
<dict>
<key>OCSFolderInfoURL</key>
<string>mysql://sogo:xxxxxxx@localhost:3306/sogo/sogo_folder_info</string>
<key>OCSSessionsFolderURL</key>
<string>mysql://sogo:xxxxxxx@localhost:3306/sogo/sogo_session_folder</string>
<key>SOGoACLsSendEMailNotifcations</key>
<string>YES</string>
<key>SOGoAppointmentSendEMailNotifcations</key>
<string>YES</string>
<key>SOGoAppointmentSendEMailReceipts</key>
<string>NO</string>
<key>SOGoAuthenticationMethod</key>
<string>LDAP</string>
<key>SOGoCalendarDefaultRoles</key>
<array>
<string>PublicViewer</string>
<string>ConfidentialDAndTViewer</string>
</array>
<key>SOGoContactsDefaultRoles</key>
<array>
<string>ObjectViewer</string>
</array>
<key>SOGoFirstDayOfWeek</key>
<string>1</string>
<key>SOGoFirstWeekOfYear</key>
<string>FirstFullWeek</string>
<key>SOGoFirtDayOfWeek</key>
<string>1</string>
<key>SOGoFoldersSendEMailNotifcations</key>
<string>YES</string>
<key>SOGoForceIMAPLoginWithEmail</key>
<string>YES</string>
<key>SOGoForwardEnabled</key>
<string>YES</string>
<key>SOGoIMAPAclConformsToIMAPExt</key>
<string>Yes</string>
<key>SOGoIMAPServer</key>
<string>localhost</string>
<key>SOGoLanguage</key>
<string>Italian</string>
<key>SOGoMailMessageCheck</key>
<string>every_5_minutes</string>
<key>SOGoMailReplyPlacement</key>
<string>above</string>
<key>SOGoMailingMechanism</key>
<string>smtp</string>
<key>SOGoPasswordChangeEnabled</key>
<string>NO</string>
<key>SOGoProfileURL</key>
<string>mysql://sogo:xxxxxxx@localhost:3306/sogo/sogo_user_profile</string>
<key>SOGoSMTPServer</key>
<string>localhost</string>
<key>SOGoSieveScriptsEnabled</key>
<string>YES</string>
<key>SOGoSieveServer</key>
<string>sieve://localhost:4190</string>
<key>SOGoTimeZone</key>
<string>Europe/Rome</string>
<key>SOGoVacationEnabled</key>
<string>YES</string>
<key>SxVMemLimit</key>
<string>512</string>
<key>WOUseRelativeURLs</key>
<string>YES</string>
<key>WOWorkersCount</key>
<string>1</string>
<key>domains</key>
<dict>
<key>centroservizicontabili.it</key>
<dict>
<key>SOGoDraftsFolderName</key>
<string>Drafts</string>
<key>SOGoLanguage</key>
<string>Italian</string>
<key>SOGoMailDomain</key>
<string>centroservizicontabili.it</string>
<key>SOGoSuperUsernames</key>
<array>
<string>www</string>
</array>
<key>SOGoUserSources</key>
<array>
<dict>
<key>CNFieldName</key>
<string>cn</string>
<key>IDFieldName</key>
<string>mail</string>
<key>UIDFieldName</key>
<string>uid</string>
<key>baseDN</key>
<string>domainName=centroservizicontabili.it,o=domains,dc=centroservizicontabili,dc=it</string>
<key>bindDN</key>
<string>cn=Manager,dc=centroservizicontabili,dc=it</string>
<key>bindPassword</key>
<string>xxxxxxx</string>
<key>canAuthenticate</key>
<string>YES</string>
<key>displayName</key>
<string>Centroservizicontabili.it Rubrica</string>
<key>hostname</key>
<string>localhost</string>
<key>id</key>
<string>centroservizicontabili</string>
<key>isAddressBook</key>
<string>YES</string>
<key>port</key>
<string>389</string>
<key>type</key>
<string>ldap</string>
</dict>
</array>
</dict>
<key>ricciarelli.net</key>
<dict>
<key>SOGoCalendarDefaultRoles</key>
<array>
<string></string>
</array>
<key>SOGoContactsDefaultRoles</key>
<array>
<string></string>
</array>
<key>SOGoDraftsFolderName</key>
<string>Drafts</string>
<key>SOGoLanguage</key>
<string>Italian</string>
<key>SOGoMailDomain</key>
<string>ricciarelli.net</string>
<key>SOGoSuperUsernames</key>
<array>
<string>franco</string>
</array>
<key>SOGoUserSources</key>
<array>
<dict>
<key>CNFieldName</key>
<string>cn</string>
<key>IDFieldName</key>
<string>uid</string>
<key>UIDFieldName</key>
<string>uid</string>
<key>baseDN</key>
<string>domainName=ricciarelli.net,o=domains,dc=centroservizicontabili,dc=it</string>
<key>bindAsCurrentUser</key>
<string>YES</string>
<key>bindDN</key>
<string>cn=Manager,dc=centroservizicontabili,dc=it</string>
<key>bindPassword</key>
<string>xxxxxxx</string>
<key>canAuthenticate</key>
<string>YES</string>
<key>displayName</key>
<string>ricciarelli.net</string>
<key>hostname</key>
<string>localhost</string>
<key>id</key>
<string>ricciarelli.net</string>
<key>isAddressBook</key>
<string>YES</string>
<key>port</key>
<string>389</string>
<key>type</key>
<string>ldap</string>
<key>userPasswordAlgorithm</key>
<string>sha</string>
<key>SOGoLDAPQueryLimit</key>
<string>0</string>
</dict>
</array>
</dict>
</dict>
</dict>
</dict>
</plist>


bye bye!!
Luciano Perdon


--------------------------------------------------
From: "Jean-Michel OLTRA" <jm.ol...@cloud-bs.fr>
Sent: Friday, April 29, 2011 9:07 AM
To: <users@sogo.nu>
Subject: [SOGo] 3 domains with ldap


   Hi all,


We are trying to setup a SOGo test case with 3 domains.

Here is one (the last in the config file) of our 3 domains entries.

<key>cloud-business-services.eu</key>
       <dict>
       <key>SOGoMailDomain</key>
       <string>cloud-business-services.eu</string>
       <key>SOGoSuperUsernames</key>
       <array>
       <string>postmaster</string>
       </array>
       <key>SOGoLanguage</key>
       <string>French</string>
       <key>SOGoUserSources</key>
       <array>
           <dict>
                  <key>CNFieldName</key>
                  <string>cn</string>
                  <key>IDFieldName</key>
                  <string>mail</string>
                  <key>IMAPHostFieldName</key>
                  <string>mailHost</string>
                  <key>UIDFieldName</key>
                  <string>mail</string>
                  <key>baseDN</key>

<string>domainName=cloud-business-services.eu,o=domains,dc=freezbiz,dc=org</string>
                  <key>bindDN</key>
                  <string>cn=Manager,dc=freezbiz,dc=org</string>
                  <key>bindFields</key>
                  <string>mail</string>
                  <key>bindPassword</key>
                  <string>XXXXXXXX</string>
                  <key>canAuthenticate</key>
                  <string>YES</string>
                  <key>displayName</key>
                  <string>Carnet adresses Partagé</string>
                  <key>hostname</key>
                  <string>127.0.0.1</string>
                  <key>id</key>
                  <string>contact</string>
                  <key>isAddressBook</key>
                  <string>YES</string>
                  <key>port</key>
                  <string>389</string>
           </dict>
       </array>
       </dict>

We log in with an email address, say jm.ol...@cloud-business-services.eu

Ldap logs show that the user is queried in the first, then in the second domain
but not in the third, which is the good one with that email address.
So, the login is failing.

Obviously (?), if we try to log in with a user belonging to the first, or to
the second mail domain, login succeeds.

We tried to delete one of the two first domains: login succeeds with
the last domain (which is the last of two and fails when it was the last
of three).

I do not know if I am clear enough, but here is my stupid question: is
there any kind of limit in the domain number ? Something missing in the
domain configuration ?

Thanks,

--
jm

--
users@sogo.nu
https://inverse.ca/sogo/lists


--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to