Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0001001SOGoBackend Generalpublic2010-11-22 12:11
Reporterxbgmsharp Assigned Toludovic  
PrioritynormalSeverityblockReproducibilityhave not tried
Status resolvedResolutionduplicate 
Product Version1.3.4 
Summary0001001: Sogo tools with multi domain support
Description

When running sogo-tool with a multi domain configuration, it does not find any user source. This make any sogo backup impossible.
The command is run running as sogo user.

/usr/sbin/sogo-tool -h
2010-11-22 11:09:21.463 sogo-tool[29755] No LDAP source is configured in the SOGo configuration of this account. Please make sure to use this tool under the same username as SOGo.

On single domain sogo instance, it does work:
/usr/sbin/sogo-tool -h
2010-11-22 11:11:24.367 sogo-tool[30703] sogo-tool [-v|--verbose] [-h|--help] command [argument1] ...
-v, --verbose enable verbose mode
-h, --help display this help information

argument1, ... arguments passed to the specified command

Available commands:
restore -- restore user folders
backup -- backup user folders
check-doubles -- check user addressbooks with duplicate contacts
remove -- remove user data and settings from the db
remove-doubles -- remove duplicate contacts from the specified user addressbook

Additional Information

For multi domains support remove SOGoUserSources and change it to:

    domains = {
           MyDomain.ltd = {
               SOGoMailDomain = MyDomain.ltd;
               SOGoUserSources = (
                   {
                       type = ldap;
                       CNFieldName = cn;
                       IDFieldName = uid;
                       UIDFieldName = uid;
                       MailFieldNames = (mailLocalAddress, mailAlias);
                       baseDN = "ou=MyDomain,dc=MyDomain,dc=ldt";
                       canAuthenticate = YES;
                       displayName = "Addresses MyDomain";
                       hostname = localhost;
                       id = MyDomain.ltd-public;
                       isAddressBook = YES;
                       port = 389;
                    }
            );
            };
            MyDomain2.ltd = {
               SOGoMailDomain = MyDomain2.ltd;
               SOGoUserSources = (
                   {
                       type = ldap;
                       CNFieldName = cn;
                       IDFieldName = uid;
                       UIDFieldName = uid;
                       MailFieldNames = (mailLocalAddress, mailAlias);
                       baseDN = "ou=MyDomain2,dc=MyDomain,dc=ldt";
                       canAuthenticate = YES;
                       displayName = "Addresses MyDomain2";
                       hostname = localhost;
                       id = MyDomain2.ltd-public;
                       isAddressBook = YES;
                       port = 389;
                    }
            );
            };

};

Single domain configuration:
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
baseDN = "dc=MyDomain,dc=ldt";
bindFields = (uid);
canAuthenticate = YES;
displayName = "Adresses MyDomain";
hostname = localhost;
id = public;
isAddressBook = YES;
port = 389;
scope = SUB;
}
);

TagsNo tags attached.

Relationships

duplicate of 0000416 resolvedludovic sogo-tool backup does not work in multi domain environment 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-11-22 10:14 xbgmsharp New Issue
2010-11-22 12:11 ludovic Relationship added duplicate of 0000416
2010-11-22 12:11 ludovic Duplicate ID 0 => 416
2010-11-22 12:11 ludovic Status new => resolved
2010-11-22 12:11 ludovic Resolution open => duplicate
2010-11-22 12:11 ludovic Assigned To => ludovic