Hi Martin

On 2013-03-28, at 2:36 AM, Martin Krpata <martin.krp...@ou-nem.cz> 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 = "s...@ou-nem.cz";
>    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.

--
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

Reply via email to