[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: adding a custom attribute
- To: Quanah Gibson-Mount <quanah@zimbra.com>
- Subject: Re: adding a custom attribute
- From: Igor Shmukler <igor.shmukler@gmail.com>
- Date: Tue, 2 Dec 2014 23:12:35 +0200
- Cc: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MqesO/00bIp/A8YRG9owhhp8/KYWOcyVO9RokRwO83E=; b=QL71WKWhgXbjaBAi6TU7/TfmPP34Yzd9MToNUJUgJl9L2w7XAcZ1R21uQehZ6HwiqD H0V2gI/kE1Za+gaJW/NQcxhII7lYN57GisZU6BSvTgHLjgfduFHOjA+N9IHZ9PZeIlF2 Feap2CqjG7UKXxo6Yw8jo8HFc1J3aM6JMPL0Mo60yF7ux/TOLXiiDcMF1DFXUErYLcgz tCMLA9NRtmlwtzacmWG9VEVtNYVAs4RGEvYSZC+RjqG6rBhA8Yb53YBBr0xXxWhmdPED JcddsWC/d07FZByZWl8BZd1Fb1QNfhra6RGPxsZIwu6AltpgWGZpzwj9rgeQFpSC3CN3 uQmA==
- In-reply-to: <234816B7E3F4DFEDFD9E3FC2@192.168.1.61>
- References: <CAA1SNA0yKTLdMnzNn1wpngxkdcEgePY4_ZPpKO2+5SPRjdWTxg@mail.gmail.com> <234816B7E3F4DFEDFD9E3FC2@192.168.1.61>
Hello Quanah,
Thank you for your reply.
Do I create a new schema file for my new attribute as in
${new_attribute}.schema and another for the new object using this new
attribute?
Sincerely,
Igor Shmukler
On Tue, Dec 2, 2014 at 11:05 PM, Quanah Gibson-Mount <quanah@zimbra.com> wrote:
> --On Tuesday, December 02, 2014 10:55 PM +0200 Igor Shmukler
> <igor.shmukler@gmail.com> wrote:
>
>> Hello,
>>
>> I want to have an ability add "custom attribute[s]" to my LDAP records.
>> For example, such an attribute could be sipTelephone, mobile and/or
>> something else.
>>
>> I did a little digging. Please advise whether I am on the right track.
>>
>> My understanding, at present, is that I would have to modify
>> core.schema [located on my Ubuntu under /etc/ldap/schema ] and perhaps
>> some other schema files from the same directory.
>>
>> I found various syntax OIDs. For telephones, for example -
>> 1.3.6.1.4.1.1466.115.121.1.50 should be the right one. There is
>> another OID for strings - 1.3.6.1.4.1.1466.115.121.1.15 for UTF-8
>> coded strings.
>>
>> Is editing core.schema the correct way to go? I am eagerly looking for
>> advice.
>
>
> Never, ever, edit core.schema.
>
> You can apply for your own OID, create your own attributes, and then create
> objectClasses that use them. That is the correct way to do things.
>
> --Quanah
>
> --
>
> Quanah Gibson-Mount
> Server Architect
> Zimbra, Inc.
> --------------------
> Zimbra :: the leader in open source messaging and collaboration