Re: Extending inetOrgPerson's schema to support custom attributes

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

 



Hi,

a few thoughts from someone who is not a fedoraDS expert :
- you created a new attribute type, but did not add it to the inetorgperson
class definition. So the class itself is not modified. The way the LDIF
files are named does not imply you modify a given class. Only the number has
a meaning, and this represents the order of the files analysing at the
server startup
- I am not sure, but I believe that 99users.ldif should not be modified,
because it represents a view of the directory schema, and is not a
configuration file. Again, I am really not sure, I don't have a fedora
instance at home and can't check this
- standard classes should not be modified. You should create an auxiliary
objectClass containing you custom attribute types, and have your users
implement both inetOrgPerson and your auxiliary class. This can also be a
way to determine if a given user is configured for our application or not
(if it implements your aux class or not) To achieve this, you should create
a file named, for example, 70kevin.ldif and put all your custom schema in
it. Then start your server.


Regards,

Fran?ois



2006/9/25, kevin james <kevinjj33 at yahoo.com>:
>
> Oops I pressed the enter key and the mail got sent, Yahoo Beta Mail is too
> Ajaxified :)
>
> These were the lines I added to the bottom of the 99users.ldif
> My custom attribute being called "policyNos"
>
> attributeTypes: ( 1.3.6.1.4.1.5923.1.1.1.2 NAME 'policyNos' DESC 'Policy
> Numbers for Insured' EQUALITY caseIgnoreMatch SYNTAX
> 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'user defined' )
> I was able to restart slapd with no problems, but it still doesnt show up
> in my list of attrbutes for inetOrgPerson.
>
> Again any suggestions would be greatly appreciated.
>
> Thanks,
> Kevin
> ----- Original Message ----
> From: kevin james <kevinjj33 at yahoo.com>
> To: fedora-directory-users at redhat.com
> Sent: Monday, September 25, 2006 3:43:07 PM
> Subject: Extending inetOrgPerson's schema to support custom attributes
>
>  Hello All,
>
> I'm trying to extend the inetOrgPerson's schema in order to better support
> our companie's
> user profile. I 've been doing some googling and I understand that
> modifications need to be done to the 99users.ldif file, I've tried a
> couple of settings but I'm unable to see my custom attributes show up in the
> list of schema attributes for the inetOrgPerson class.
>
> Here's what I've done so far. Any help would be greatly appreciated.
>
> These are the lines I added to the bottom of the 99users.ldif file.
>
>
>
> --
> 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/20060925/89fa5491/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