Hi,

I configured multi-domain authorization in SOGo v2.0.0 rc4.
Now i have two domains example.com and example.net.
I added samba and openchange account,

samba-tool domain passwordsettings set --complexity=off
samba-tool domain passwordsettings set --min-pwd-length=1
samba-tool user add user
samba-tool user setexpiry user --noexpiry
openchange_newuser --create user

How to configure that I can connect to Outlook with multiple domains?


SOGo config:
 <key>SOGoEnableDomainBasedUID</key>
        <string>YES</string>
       <key>domains</key>
       <dict>
               <key>example.com</key>
               <dict>
                      <key>SOGoMailDomain</key>
                       <string>example.com</string>
                       <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>cn=example.com
,dc=mail,dc=example,dc=com</string>
                               <key>bindDN</key>
                               <string>cn=admin,dc=example,dc=com</string>
                               <key>bindPassword</key>
                               <string>sogo</string>
                               <key>canAuthenticate</key>
                               <string>YES</string>
                               <key>displayName</key>
                               <string>Shared Addresses</string>
                               <key>hostname</key>
                               <string>localhost</string>
                               <key>id</key>
                               <string>public-example.com</string>
                               <key>isAddressBook</key>
                               <string>YES</string>
                               <key>passwordPolicy</key>
                               <string>NO</string>
                               <key>port</key>
                               <string>3389</string>
                               <key>scope</key>
                               <string>SUB</string>
                               <key>type</key>
                               <string>ldap</string>
                               </dict>
                        </array>
                </dict>
               <key>example.net</key>
               <dict>
                       <key>SOGoMailDomain</key>
                       <string>example.net</string>
                       <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>cn=example.net
,dc=mail,dc=example,dc=com</string>
                              <key>bindDN</key>
                              <string>cn=admin,dc=example,dc=com</string>
                              <key>bindPassword</key>
                              <string>sogo</string>
                              <key>canAuthenticate</key>
                              <string>YES</string>
                              <key>displayName</key>
                              <string>Jagatud aadressid</string>
                              <key>hostname</key>
                              <string>localhost</string>
                               <key>id</key>
                               <string>public-example.net</string>
                               <key>isAddressBook</key>
                               <string>YES</string>
                               <key>passwordPolicy</key>
                               <string>NO</string>
                               <key>port</key>
                               <string>3389</string>
                               <key>scope</key>
                               <string>SUB</string>
                               <key>type</key>
                               <string>ldap</string>
                               </dict>
                       </array>
               </dict>
       </dict>


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

Reply via email to