Hi.

I downloaded the ZEG-OC-TP7 appliance and tried to set up a new domain in there.

As we have currenlty also LDAP-based multi-domain mail server for our 
customers, I thought I'd create the similar structure in SOGo LDAP under the 
default dc=example,dc=com, so I created structure for such user:

[email protected],cn=example.net,dc=mail,dc=hosting,dc=example,dc=com 
(that entry has also [email protected])

What I'd like to do now is to authenticate users with their e-mail address, eg. 
[email protected], so I changed this part in .GNUstepDefaults:

        <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>uid</string>
                                        <key>UIDFieldName</key>
                                        <string>uid</string>
                                        <key>baseDN</key>
                                        
<string>ou=people,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</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>uid</string>
                                        <key>UIDFieldName</key>
                                        <string>uid</string>
                                        <key>baseDN</key>
                                        
<string>cn=example.net,dc=mail,dc=hosting,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</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>

I also created new mailbox for [email protected] in cyradm.

I can now still authenticate users from example.com domains with their original 
usernames, but authenticating [email protected] fails. I'm not sure where this 
happens though - in SOGo, in LDAP, in Cyrus, ....

Any tips how to debug it further?

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

Reply via email to