Expanding directory schema using LDIF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Patrick,

Thanks for your reply.

I thought the "testAttribute_1" that I've before the NAME is consider as
OID, so I guess I cannot use letters to define OID?
> > attributeTypes: ( *testAttribute_1* NAME 'testAttribute_1'
>> ...

Is there some rule set that I must follow to define my OID?  I noticed that
in "25java-object.ldif", the OID for javaClassName is "
1.3.6.1.4.1.42.2.27.4.1.6", so is it true that I must use numeric to define
my OID?

Regards,

David



On Nov 20, 2007 4:23 PM, Patrick Morris <patrick.morris at hp.com> wrote:
> On Tue, 20 Nov 2007, Chun Tat David Chu wrote:
>
> > Below is my schema
> > dn: cn=schema
> > objectClass: top
> > objectClass: ldapSubentry
> > objectClass: subschema
> > cn: schema
> > attributeTypes: ( testAttribute_1 NAME 'testAttribute_1'
> >  DESC 'This is testAttribute_1'
> >  EQUALITY caseIgnoreMatch
> >  SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
> >  SINGLE-VALUE
> >  X-ORIGIN 'user defined'
> >  )
> > attributeTypes: ( testAttribute_1 NAME 'testAttribute_2'
> >  DESC 'This is testAttribute_2'
> >  EQUALITY caseIgnoreMatch
> >  SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
> >  MULTI-VALUE
> >  X-ORIGIN 'user defined'
> >  )
> >
> > Is the OID that I defined is invalid?  If so what's the best way to
> > generate a OID?  or that's something wrong in my LDIF?
>
> No, the problem is that you haven't defined an OID at all.
>
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20071120/dd978f7e/attachment.html 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux