Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-14-2009, 06:33 AM
Trained Alumni
 
Posts: 86
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----
Reply With Quote
  #2 (permalink)  
Old 10-14-2009, 07:17 AM
Zimbra Employee
 
Posts: 580
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
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #3 (permalink)  
Old 10-14-2009, 08:19 AM
Trained Alumni
 
Posts: 86
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----
Reply With Quote
  #4 (permalink)  
Old 11-23-2009, 12:59 AM
Trained Alumni
 
Posts: 86
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----
Reply With Quote
  #5 (permalink)  
Old 11-23-2009, 09:48 AM
Zimbra Employee
 
Posts: 580
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
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #6 (permalink)  
Old 11-24-2009, 12:09 PM
Trained Alumni
 
Posts: 86
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----
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.