General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] LDAP address book from active directory - show all fields -> SearchFieldNames


Chronological Thread 
  • From: Francis Lachapelle < >
  • To:
  • Subject: Re: [SOGo] LDAP address book from active directory - show all fields -> SearchFieldNames
  • Date: Thu, 28 Mar 2013 08:29:02 -0400

Hi Martin

On 2013-03-28, at 2:36 AM, Martin Krpata
< >
wrote:

> i would like to use address book from Active Directory and it's look like
> that some fields have another name and cannot be showed in address book.
> Like for example wWWHomePage, department, company. These names of fields
> are in Active Directory 2003 LDAP.
>
> I tryed fill sogo contact and export to ldif. It has some another field
> names that come from LDAP Active Directory, for example:
> AD wWWHomePage / LDIF mozillahomeurl
> AD company / LDIF o
> AD department / LDIF ou

You can add a mapping parameter to your users source:

mapping = {
o = company;
ou = department;
mozillahomeur = wWWHomePage;
};

> It is possible to enable field translation, or say to sogo get right fields?
>
> my config:
> {
> CNFieldName = cn;
> IDFieldName = cn;
> SearchFieldNames = (
> sn,
> displayName,
> telephoneNumber,
> mobile,
> facsimileTelephoneNumber,
> homePhone,
> pager,
> ipPhone,
> wWWHomePage,
> title,
> streetAddress,
> st,
> postOfficeBox,
> postalCode,
> physicalDeliveryOfficeName,
> description,
> countryCode,
> co,
> department,
> company
> );
> UIDFieldName = sAMAccountName;
> baseDN = "DC=OU-NEM,DC=CZ";
> bindDN =
> " ";
> bindFields = (
> sAMAccountName
> );
> bindPassword = deleted;
> canAuthenticate = NO;
> displayName = "Active Directory";
> filter = " objectClass = user AND mail = ''*'' ";
> hostname = 192.168.89.244;
> id = directory;
> isAddressBook = YES;
> port = 389;
> scope = SUB;
> type = ldap;
> }
>
> http://imageshack.us/photo/my-images/571/sogoaddressbookfromad.png/
>
> --
> S pozdravem
> Martin Krpata, DiS.
> Oddělení IT
> Orlickoústecká nemocnice, a.s.

--

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




Archive powered by MHonArc 2.6.18.

Top of page