Results 1 to 6 of 6

Thread: missing LDAP Attributes for GAL

  1. #1
    Join Date
    Feb 2009
    Location
    Vienna, Austria
    Posts
    86
    Rep Power
    6

    Default missing LDAP Attributes for GAL

    How can I modify zimbra to get these attributes (see below) allowed for accounts to use them in the gal.

    There is no need for a gui in the admin console as I would fill them with zmprov and map them to the GAL.

    But there is a strong need to show the mobile Number in the GAL, as we use the ZCB and want to search for the mobile numbers of the staff members?

    Code:
    [zimbra@zimbra ~]$ zmprov ma rgustavik@wien.info mobileTelephoneNumber "+43"
    ERROR: service.INVALID_REQUEST (invalid request: LDAP schema violation: [LDAP: error code 65 - attribute 'mobile' not allowed])
    [zimbra@zimbra ~]$ zmprov ma rgustavik@wien.info homeTelephoneNumber "+43"
    ERROR: service.INVALID_REQUEST (invalid request: LDAP schema violation: [LDAP: error code 65 - attribute 'homePhone' not allowed])
    [zimbra@zimbra ~]$ zmprov ma rgustavik@wien.info pagerTelephoneNumber "+43"
    ERROR: service.INVALID_REQUEST (invalid request: LDAP schema violation: [LDAP: error code 65 - attribute 'pager' not allowed])
    Code:
                         <\***/>
    Reinhard             ( . . )
    -------------------ooO--U--Ooo----

  2. #2
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    You'll need to create an AUX objectClass with the attributes you want, in your own specific schema file in LDIF format, and install it. Then you'll need to make zimbra aware of the fact that you use this additional oC when creating entries.

    Installing custom ldap schema 6.0 - Zimbra :: Wiki

    gives some detail on how to convert a .schema file to the new .ldif format, and how to install it.

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  3. #3
    Join Date
    Feb 2009
    Location
    Vienna, Austria
    Posts
    86
    Rep Power
    6

    Default

    I understand how to add a new ldif.

    I understand how to modify an existing ldif - so I added mobile and pager as Attribute to Account in Zimbra.ldif and this works for now.

    I don't think, I can define a new oC instead of Account - can I?

    I've no idea, how to expand the objectclass Account from the zimbra.ldif with customized attributes, that wont disapear after an update.

    Can some help me?
    Code:
                         <\***/>
    Reinhard             ( . . )
    -------------------ooO--U--Ooo----

  4. #4
    Join Date
    Feb 2009
    Location
    Vienna, Austria
    Posts
    86
    Rep Power
    6

    Default

    Quote Originally Posted by quanah View Post
    You'll need to create an AUX objectClass with the attributes you want, in your own specific schema file in LDIF format, and install it. Then you'll need to make zimbra aware of the fact that you use this additional oC when creating entries.
    ...
    --Quanah
    Hi Quanah,

    please, can you give me a code-example, how to expand the objectclass Account from the zimbra.ldif with customized attributes (pager, mobile), that wont disapear after an update.

    Thank you
    Code:
                         <\***/>
    Reinhard             ( . . )
    -------------------ooO--U--Ooo----

  5. #5
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    Quote Originally Posted by reinhard View Post
    Hi Quanah,

    please, can you give me a code-example, how to expand the objectclass Account from the zimbra.ldif with customized attributes (pager, mobile), that wont disapear after an update.

    Thank you
    Hi Reinhard,

    Well, I've actually filed https://bugzilla.zimbra.com/show_bug.cgi?id=42877 because I think what you're wanting to do is useful information to have available to the end user.

    But to answer your earlier questions, anyone can create objectClasses with LDAP, that's part of the idea behind it, to make it extensible. However, creating your own objectClass and then having zimbra expand the account objectClass later would be somewhat messy. So I decided to file the bug instead.

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  6. #6
    Join Date
    Feb 2009
    Location
    Vienna, Austria
    Posts
    86
    Rep Power
    6

    Default

    Quote Originally Posted by quanah View Post
    Hi Reinhard,

    Well, I've actually filed https://bugzilla.zimbra.com/show_bug.cgi?id=42877 because I think what you're wanting to do is useful information to have available to the end user.

    --Quanah
    Thanks. I voted for the Bug and hope many will do also, because we need this attributes when sync the GAL with BES - and it will be nice, if someone can call a co-worker using the GAL ...
    Code:
                         <\***/>
    Reinhard             ( . . )
    -------------------ooO--U--Ooo----

Similar Threads

  1. [SOLVED] 5.0.11 -> 5.0.12 Upgrade failed (SSLeay.so)
    By bards1888 in forum Installation
    Replies: 30
    Last Post: 04-26-2010, 07:56 AM
  2. 4.5.11 to 5.06 Migration Suggestion
    By newmember in forum Migration
    Replies: 15
    Last Post: 09-02-2008, 06:59 PM
  3. External Ldap user attributes
    By jherington in forum Installation
    Replies: 0
    Last Post: 11-19-2007, 11:50 PM
  4. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  5. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 10:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •