Hi,

Sorry for this noob question but I'm a completely newby at sogo, trying to set up a test install. I've set up a test Active Directory domain (Samba4) from 3 servers (one of them running on the sogo box) and plan to authenticate the users to it (later to extend it with the openchange schema, for outlook compatibility). I've stuck on the step of configuring the usersource as in: http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf for the Active directory example as:
defaults write sogod SOGoUserSources '({
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
baseDN = "dc=testdom,dc=hu";
bindDN = "cn=sogo,ou=ServiceAccounts,dc=testdom,dc=hu";
bindFields = (sAMAccountName, cn);
bindPassword = secret;
canAuthenticate = YES;
displayName = "Active Directory";
hostname = sogo.testdom.hu;
id = directory;
isAddressBook = YES;
port = 389;)}'

I've also tried it in one line with the same result:

2012-11-02 11:16:00.092 defaults[5542] Failed to parse '({
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
baseDN = "dc=testdom,dc=hu";
bindDN = "cn=sogo,ou=ServiceAccounts,dc=testdom,dc=hu";
bindFields = (sAMAccountName, cn);
bindPassword = secret;
canAuthenticate = YES;
displayName = "Active Directory";
hostname = sogo.testdom.hu;
id = directory;
isAddressBook = YES;
port = 389;)}' ... '<NSException: 0x270bf10> NAME:NSGenericException REASON:Parse failed - Parse failed at line 15 (char 360) - unexpected character (wanted '=') INFO:(null)'
defaults write: invalid input - bad property list

Thanks for any idea!

Cheers

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

Reply via email to