Hi JF
On Jan 27, 2011, at 5:58 AM, Jan-Frode Myklebust wrote:
>> I'm having problems getting this working. I have configured it with:
>>
>> defaults write sogod SearchFieldNames '("mail", "cn")'
It must be set at the source level. So for example :
SOGoUserSources '(
{
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
SearchFieldNames = (
mail,
cn
);
...
}
)'
> RTFM.. page 18, this is in the SOGoUserSources setting.. and now it
> works much better. It's still searching for a bit more than I told it
> to:
>
> filter="(|(givenName=janfrode*)(mail=janfrode*)(cn=janfrode*))"
>
> even though my SOGoUserSources doesn't contain givenName:
>
> <key>SearchFieldNames</key>
> <array>
> <string>mail</string>
> <string>cn</string>
> </array>
>
> but things seems to be working much better.
The constructed LDAP filter includes the fields from SearchFieldNames,
MailFieldNames and CNFieldName. Does givenName is defined as your CN?
Francis
--
[email protected] :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence
(http://packetfence.org)
--
[email protected]
https://inverse.ca/sogo/lists