OK....I'll hold off on the photos until we upgrade to 8 sometime in the future. I wasn't real excited about extending the schema myself. :)
From: "Quanah Gibson-Mount" <quanah@zimbra.com>
To: "Matt Mencel" <MR-Mencel@wiu.edu>, zimbra-hied-admins@sfu.ca
Sent: Thursday, August 8, 2013 12:11:20 AM
Subject: Re: Photos in the 7.1.x GAL
Hi Matt,
I think that page is pretty clear that one should never make changes to the
zimbra.ldif file. Any changes made to that file will not be preserved
across upgrades. I would also note that LDAP already ships with an RFC
defined attribute for storing photos. It is called "jpegPhoto", and is
part of the inetorgperson objectClass. All zimbra people objects are
migrated to being of the inetorgperson objectClass as part of the ZCS8
upgrade. So all you really need to do is upgrade to ZCS8, and you can
simply add jpegPhoto to your existing people objects without needing any
sort of custom schema.
Hope this helps,
Quanah
--On August 7, 2013 10:51:29 PM -0500 Matt Mencel <MR-Mencel@wiu.edu> wrote:
>
> OK....so I probably don't want to be editing the existing file
> (cn\=\{3\}zimbra.ldif), or do I? This file has the some of the other GAL
> attributes....
>
> ...
>
># sn - last name (sir name)
># st - state
># telephoneNumber - phone
>#
> olcObjectClasses: ( zimbraAccount
> NAME 'zimbraAccount'
> DESC 'Account object'
> SUP zimbraMailRecipient AUXILIARY
> MUST (
> uid $
> zimbraAccountStatus $
> zimbraId
> )
> MAY (
> c $
> cn $
> co $
> company $
> ...
>
> Which means I should be creating a new ldif file....like
> cn\=\{10}mynewattrs.ldif.... I'm guessing. Do I create a whole new
> olcObjectClass and put the one attribute in it. Just something like this?
>
>
> dn: cn={10}mynewattrs
> objectClass: olcSchemaConfig
> cn: {10}mynewattrs
> olcAttributeTypes: ( SOME_NUMBER_HERE NAME 'photoFileName'
> DESC 'some description'
> SUP myOC )
> olcObjectClasses: ( SOME_NUMBER_HERE NAME 'myOC'
> DESC 'some description'
> SUP zimbraMailRecipient AUXILIARY
> MAY (
> photoFileName $ )
> )
>
> Then LDAP stop/start and away I go....or am I way off?
>
>
> Thanks,
> Matt
>
>
>
>
>
>
> __________________________________________________
>
> From: "Quanah Gibson-Mount" <quanah@zimbra.com>
> To: "Matt Mencel" <MR-Mencel@wiu.edu>, zimbra-hied-admins@sfu.ca
> Sent: Wednesday, August 7, 2013 9:24:32 PM
> Subject: Re: Photos in the 7.1.x GAL
>
> Hi Matt,
>
> Something like
> <http://wiki.zimbra.com/wiki/Installing_custom_ldap_schema>?
>
> --Quanah
>
> --On August 7, 2013 9:02:08 PM -0500 Matt Mencel <MR-Mencel@wiu.edu>
> wrote:
>
>>
>> Following up on an old thread. I'm working on this now for my 7.2.4
>> system and am stuck on adding a custom LDAP attribute (photoFileName) to
>> Zimbra. Are there clear docs out there on how to accomplish this?
>>
>>
>> Also....anyone know how implementation of this feature changes in version
>> 8?
>>
>>
>> Matt
>>
>>
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration