Re: 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@xxxxxxxxx>:
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@xxxxxxxxx>
To: fedora-directory-users@xxxxxxxxxx
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users



--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux