| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | 
10-14-2009, 06:33 AM
| | | 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---- | 
10-14-2009, 07:17 AM
| | Zimbra Employee | |
Posts: 580
| | 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
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
10-14-2009, 08:19 AM
| | | 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---- | 
11-23-2009, 12:59 AM
| | | Quote:
Originally Posted by quanah 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---- | 
11-23-2009, 09:48 AM
| | Zimbra Employee | |
Posts: 580
| | Quote:
Originally Posted by reinhard 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
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
11-24-2009, 12:09 PM
| | | Quote:
Originally Posted by 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---- | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |