Re: Antw: adding a custom attribute

2014-12-10 Thread Michael Ströder
Ulrich Windl wrote: http://tools.ietf.org/html/rfc4512#section-2.5 >>> >>> I couldn't quite read it from there: The closest match I found was: "oid = >>> descr / numericoid", but I was talking about the "on wire" protocol of LDAP. >>> Are there really named objects and attributes? >> >> You r

Re: Antw: adding a custom attribute

2014-12-10 Thread Michael Ströder
Ulrich Windl wrote: Michael Ströder schrieb am 10.12.2014: >>> I thought the LDAP _protocol_ uses OIDs everywhere, and names are just for >>> human users...? >> >> Nope. One could regard this as design deficiency (in comparison to X.500). >> >> http://tools.ietf.org/html/rfc4512#section-2.5

Re: Antw: adding a custom attribute

2014-12-10 Thread Michael Ströder
Ulrich Windl wrote: Michael Ströder schrieb am 09.12.2014 um 16:31 in > Nachricht <548715bf.7050...@stroeder.com>: >> Ulrich Windl wrote: >>> I thought a schema having a OID is the same everywhere; would a modified >> schema need a new OID then? >> >> Best practice is to assign a new OID if

Re: Antw: adding a custom attribute

2014-12-09 Thread Quanah Gibson-Mount
--On Tuesday, December 09, 2014 6:31 PM +0200 Igor Shmukler wrote: Hello Everybody, Thank you for answering my question. I am still confused... If schema files are never used directly, while LDIFs are used instead; why is there no tool which produces LDIF files suitable for ldapadd(1) or/and

Re: Antw: adding a custom attribute

2014-12-09 Thread Igor Shmukler
Hello Everybody, Thank you for answering my question. I am still confused... If schema files are never used directly, while LDIFs are used instead; why is there no tool which produces LDIF files suitable for ldapadd(1) or/and ldapodify(1)? Is it recommended to run a schema to LDIF conversion, the

Re: Antw: adding a custom attribute

2014-12-09 Thread Michael Ströder
Ulrich Windl wrote: > I thought a schema having a OID is the same everywhere; would a modified > schema need a new OID then? Best practice is to assign a new OID if anything changes for a schema element. 99.% of LDAP client applications don't care about OIDs though. => assign a new NAME too

Re: Antw: adding a custom attribute

2014-12-09 Thread Howard Chu
Ulrich Windl wrote: I thought a schema having a OID is the same everywhere; would a modified schema need a new OID then? Yes. Modifying RFC-published schema is prohibited anyway. Igor Shmukler schrieb am 02.12.2014 um 21:55 in Nachricht : Hello, I want to have an ability add "custom at

Antw: adding a custom attribute

2014-12-09 Thread Ulrich Windl
I thought a schema having a OID is the same everywhere; would a modified schema need a new OID then? >>> Igor Shmukler schrieb am 02.12.2014 um 21:55 in Nachricht : > Hello, > > I want to have an ability add "custom attribute[s]" to my LDAP records. > For example, such an attribute could be sip

Re: adding a custom attribute

2014-12-02 Thread Nick Milas
On 2/12/2014 11:12 μμ, Igor Shmukler wrote: 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? See also: http://www.openldap.org/devel/admin/schema.html We have done it in this way: Got a registered OID fro

Re: adding a custom attribute

2014-12-02 Thread Michael Ströder
Igor Shmukler wrote: > 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? When using static configuration one usually uses include to add schema declarations to the configuration. Personally I put attribute

Re: adding a custom attribute

2014-12-02 Thread Michael Ströder
Igor Shmukler wrote: > 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 th

Re: adding a custom attribute

2014-12-02 Thread Igor Shmukler
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 wrote: > --On Tuesday, December 02,

Re: adding a custom attribute

2014-12-02 Thread Quanah Gibson-Mount
--On Tuesday, December 02, 2014 10:55 PM +0200 Igor Shmukler 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 rig

adding a custom attribute

2014-12-02 Thread Igor Shmukler
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 c