Mark Adams wrote:
> On Sun, Jul 25, 2010 at 07:35:05PM -0500, Mark Madere wrote:
>   
>> hello,
>>
>> I am trying to backup my users' data with sogo-tool and I get the
>> following error:
>>
>> sogo$ sogo-tool
>> 2010-07-25 19:15:37.820 sogo-tool[2311] 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.
>>
>> I am running a multi-domain configuration and I have two LDAP servers. 
>> I am confused why backing up data from a database is contingent on LDAP. 
>>
>> I have a linux user named sogo that runs the daemon but I do not have an
>> entry in either LDAP tree for a user sogo.  Is this what i am missing? 
>> Do i need to add a sogo user to both LDAP sources?
>>     
> What user is your SOGo configure set to bind to your LDAP directories
> as? A standard install would be "sogo" so you would have created this
> account already.
>
> I guess you could try running the sogo-tool command as whatever user you
> are using to do the bind, if they exist as a linux user. They would also
> need to have access to the database though.
>
> Regards,
> Mark
>   
>> Thanks,
>> mark
Can someone help me make sense of this?  Do I really need to have a user
name and password combination that is the same for both of my LDAP
servers, my database and can login to the sogo web interface?

I even have to question whether or not the sample config file for multi
domain setup (below) would allow the user sogo to login correctly?  How
would the sogo server know whether to serve for [email protected] or
[email protected]?  

To solve this problem in my config I use mail for IDFieldName and
UIDFieldName.  Users must login with their full email address.  Is this
part of my problem?  Lastly, is there a manual that covers how to use
sogo-tool?

domains = {
       acme.com = {
              SOGoMailDomain = acme.com;
              SOGoDraftsFolderName = Drafts;
       SOGoUserSources = (
           {
              type = ldap;
              CNFieldName = cn;
              IDFieldName = uid;
              UIDFieldName = uid;
              baseDN = "ou=users,dc=acme,dc=com";
              bindDN = "uid=sogo,ou=users,dc=acme,dc=com";
              bindPassword = qwerty;
              canAuthenticate = YES;
              displayName = "Shared Addresses";
              hostname = localhost;
              id = public;
              isAddressBook = YES;
              port = 389;
           }
       );
};
coyote.com = {
       SOGoMailDomain = coyote.com;
       SOGoIMAPServer = imap.coyote.com;
       SOGoUserSources = (
           {
              type = ldap;
              CNFieldName = cn;
              IDFieldName = uid;
              UIDFieldName = uid;
              baseDN = "ou=users,dc=coyote,dc=com";
              bindDN = "uid=sogo,ou=users,dc=coyote,dc=com";
              bindPassword = qwerty;
              canAuthenticate = YES;
              displayName = "Shared Addresses";
              hostname = localhost;
              id = public;
              isAddressBook = YES;
              port = 389;
           }
       );
}
}
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to