[SOGo] Select domain

2011-03-11 Thread Albert Shih
Hi all.

I'm trying to configure a multi-domains sogo server. 

Seem it's working but I don't see anywhere the login interface allow the
user to select the domain he want to use. 

I ask this because I've two domains (with two LDAP authentication server)
but many people have account on both domains. So I would like he select the
domain (for the mail) he want to use. Or maybe you have better idea how to
manage this case ? 

Regards.


-- 
Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
ven 11 mar 2011 09:31:48 CET
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Select domain

2011-03-14 Thread Francis Lachapelle
Hi Albert

On Mar 11, 2011, at 3:35 AM, Albert Shih wrote:

> I'm trying to configure a multi-domains sogo server. 
> 
> Seem it's working but I don't see anywhere the login interface allow the
> user to select the domain he want to use. 
> 
> I ask this because I've two domains (with two LDAP authentication server)
> but many people have account on both domains. So I would like he select the
> domain (for the mail) he want to use. Or maybe you have better idea how to
> manage this case ? 

Domain segregation is transparent to the user. The user authentication is 
performed through the configured authentication sources until it succeeds. The 
domain of the working source defines the user's domain.


Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

Re: [SOGo] Select domain

2011-03-14 Thread Ladislav Pašek

Hello,

from my experience I'm not able to set two different mail domains with one 
LDAP(AD) to authenticate users to different IMAP servers.
Unfortunately also IMAPHostFieldName seems to be not working when more than one 
domain is set.


Regards,
Ladislav

Dne 14.3.2011 16:16, Francis Lachapelle napsal(a):

Hi Albert

On Mar 11, 2011, at 3:35 AM, Albert Shih wrote:


I'm trying to configure a multi-domains sogo server.

Seem it's working but I don't see anywhere the login interface allow the
user to select the domain he want to use.

I ask this because I've two domains (with two LDAP authentication server)
but many people have account on both domains. So I would like he select the
domain (for the mail) he want to use. Or maybe you have better idea how to
manage this case ?


Domain segregation is transparent to the user. The user authentication is 
performed through the configured authentication sources until it succeeds. The 
domain of the working source defines the user's domain.


Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)


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


Re: [SOGo] Select domain

2011-03-14 Thread Ludovic Marcotte

On 11-03-14 11:53 AM, Ladislav Pašek wrote:
from my experience I'm not able to set two different mail domains with 
one LDAP(AD) to authenticate users to different IMAP servers.
Unfortunately also IMAPHostFieldName seems to be not working when more 
than one domain is set. 

This has all been fixed in the upcoming 1.3.6 release.

It's also safe to use the nightlies right now in case you want the fix 
immediately.


Regards,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] Select domain

2011-03-14 Thread Ladislav Pašek

I've tested nightly build but it seems to not working with my multi domain 
config.

{
NSGlobalDomain = {
};
"sogod" = {
OCSFolderInfoURL = 
"mysql://:@192.168.1.254:3306/sogo/sogo_folder_info";
SOGoProfileURL = 
"mysql://:@192.168.1.254:3306/sogo/sogo_user_profile";
OCSSessionsFolderURL = 
"mysql://:@192.168.1.254:3306/sogo/sogo_sessions_folder";

SOGoLanguage = Czech;
SOGoTimeZone = Europe/Prague;
SOGoVacationEnabled = YES;
SOGoSieveScriptsEnabled = YES;
SOGoForwardEnabled = YES;
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoOtherUsersFolderName = "Other Users";
SOGoSharedFolderName = "Sdilene";
SOGoMailAuxiliaryUserAccountsEnabled = YES;
SOGoMailShowSubscribedFoldersOnly = YES;
SOGoACLsSendEMailNotifications = YES;
SOGoFoldersSendEMailNotifications = YES;
SOGoAppointmentSendEMailNotifications = YES;
SOGoMailingMechanism = smtp;
domains = {
prodex.sk = {
SOGoMailDomain = prodex.sk;
SOGoIMAPServer = 192.168.9.231;
SOGoSMTPServer = 192.168.9.231;
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
filter = "(mail='*prodex.sk*')";
baseDN = "ou=_Uzivatele,dc=valbek,dc=cz";
bindDN = "cn=*,dc=valbek,dc=cz";
bindFields = (mail);
bindPassword = ;
canAuthenticate = YES;
displayName = "Active Directory";
hostname = 192.168.1.1;
id = prodex.sk;
isAddressBook = YES;
port = 389;
IMAPHostFieldName = info;
}
);
};
valbek.cz = {
SOGoMailDomain = valbek.cz;
SOGoSMTPServer = 192.168.1.254;
SOGoIMAPServer = 192.168.1.254;
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
filter = "(mail='*valbek.cz*')";
baseDN = "ou=_Uzivatele,dc=valbek,dc=cz";
bindDN = "cn=,dc=valbek,dc=cz";
bindFields = (mail);
bindPassword = ;
canAuthenticate = YES;
displayName = "Active Directory";
hostname = 192.168.1.1;
id = valbek.cz;
isAddressBook = YES;
port = 389;
IMAPHostFieldName = info;
}
);
};
}
}


Dne 14.3.2011 16:55, Ludovic Marcotte napsal(a):

On 11-03-14 11:53 AM, Ladislav Pašek wrote:

from my experience I'm not able to set two different mail domains with one
LDAP(AD) to authenticate users to different IMAP servers.
Unfortunately also IMAPHostFieldName seems to be not working when more than
one domain is set.

This has all been fixed in the upcoming 1.3.6 release.

It's also safe to use the nightlies right now in case you want the fix 
immediately.

Regards,


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


Re: [SOGo] Select domain

2011-03-14 Thread Albert Shih
 Le 14/03/2011 à 11:16:51-0400, Francis Lachapelle a écrit
Hi. 

> 
> On Mar 11, 2011, at 3:35 AM, Albert Shih wrote:
> 
> > I'm trying to configure a multi-domains sogo server. 
> > 
> > Seem it's working but I don't see anywhere the login interface allow the
> > user to select the domain he want to use. 
> > 
> > I ask this because I've two domains (with two LDAP authentication server)
> > but many people have account on both domains. So I would like he select the
> > domain (for the mail) he want to use. Or maybe you have better idea how to
> > manage this case ? 
> 
> Domain segregation is transparent to the user. The user authentication is 
> performed through the configured authentication sources until it succeeds. 
> The domain of the working source defines the user's domain.
> 

OK. But what's happen when some login is in both server ? Well I can tell
because I try.it's not working well. I don't known if it's because SOGO
keep some information in the database but when I have same login (with
different password) on two domain. With the first domain everything work
fine, but when I try the second domain password I can logging, I see my
agenda but not the mail, I check on the imap server he (=sogo) try to
connect on the first server with the second password. 

And can (I don't see but...) I share my agenda with someone in a other
domain ? 

thanks for the answer

Regards.

JAS
-- 
Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
lun 14 mar 2011 22:09:19 CET
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Select domain + multi domain

2011-03-21 Thread Ladislav Pašek

Hello

I've tested latest nightly build and the good news is that multi domain config 
with users in the same AD is working!


Thanks a lot for a good work guys!

Best regards

Ladislav

Dne 14.3.2011 17:24, Ladislav Pašek napsal(a):

I've tested nightly build but it seems to not working with my multi domain 
config.

{
NSGlobalDomain = {
};
"sogod" = {
OCSFolderInfoURL = "mysql://:@192.168.1.254:3306/sogo/sogo_folder_info";
SOGoProfileURL = "mysql://:@192.168.1.254:3306/sogo/sogo_user_profile";
OCSSessionsFolderURL =
"mysql://:@192.168.1.254:3306/sogo/sogo_sessions_folder";
SOGoLanguage = Czech;
SOGoTimeZone = Europe/Prague;
SOGoVacationEnabled = YES;
SOGoSieveScriptsEnabled = YES;
SOGoForwardEnabled = YES;
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoOtherUsersFolderName = "Other Users";
SOGoSharedFolderName = "Sdilene";
SOGoMailAuxiliaryUserAccountsEnabled = YES;
SOGoMailShowSubscribedFoldersOnly = YES;
SOGoACLsSendEMailNotifications = YES;
SOGoFoldersSendEMailNotifications = YES;
SOGoAppointmentSendEMailNotifications = YES;
SOGoMailingMechanism = smtp;
domains = {
prodex.sk = {
SOGoMailDomain = prodex.sk;
SOGoIMAPServer = 192.168.9.231;
SOGoSMTPServer = 192.168.9.231;
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
filter = "(mail='*prodex.sk*')";
baseDN = "ou=_Uzivatele,dc=valbek,dc=cz";
bindDN = "cn=*,dc=valbek,dc=cz";
bindFields = (mail);
bindPassword = ;
canAuthenticate = YES;
displayName = "Active Directory";
hostname = 192.168.1.1;
id = prodex.sk;
isAddressBook = YES;
port = 389;
IMAPHostFieldName = info;
}
);
};
valbek.cz = {
SOGoMailDomain = valbek.cz;
SOGoSMTPServer = 192.168.1.254;
SOGoIMAPServer = 192.168.1.254;
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
filter = "(mail='*valbek.cz*')";
baseDN = "ou=_Uzivatele,dc=valbek,dc=cz";
bindDN = "cn=,dc=valbek,dc=cz";
bindFields = (mail);
bindPassword = ;
canAuthenticate = YES;
displayName = "Active Directory";
hostname = 192.168.1.1;
id = valbek.cz;
isAddressBook = YES;
port = 389;
IMAPHostFieldName = info;
}
);
};
}
}


Dne 14.3.2011 16:55, Ludovic Marcotte napsal(a):

On 11-03-14 11:53 AM, Ladislav Pašek wrote:

from my experience I'm not able to set two different mail domains with one
LDAP(AD) to authenticate users to different IMAP servers.
Unfortunately also IMAPHostFieldName seems to be not working when more than
one domain is set.

This has all been fixed in the upcoming 1.3.6 release.

It's also safe to use the nightlies right now in case you want the fix
immediately.

Regards,



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