<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Francois,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>Thanks for your quick and helpful reply, I tried what you explained,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">So I create a new file called 70kevin.ldif and put this into it</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">dn: cn=schema<BR>objectClass: top<BR>objectClass: inetorgPerson<BR>objectClass: subschema<BR>attributeTypes: ( 1.3.6.1.4.1.5923.1.1.1.2 NAME 'policyNos' DESC 'Policy Num<BR> bers for Insured' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.<BR> 1.15 X-ORIGIN 'user defined' )<BR>objectClasses: ( 1.3.6.1.4.1.12274.1.1.2.1 NAME 'externalUser' DESC '' SUP inet<BR> orgPerson AUXILLARY MAY ( policyNos ) X-ORIGIN 'user defined' )<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I restarted slapd and I got this warning</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">"Entry "cn=schema" missing attribute "sn" required by object class "inetOrgPerson""</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I can see 'externalUser' but when I try to create a new user, it asks me for the policyNos attribute but not the other attributes of inetOrgPerson, when I try to create the object I get an object violation error.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I didnt quite understand this part you mentioned , what else could I be missing.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><quote>.....and have your users implement both inetOrgPerson and your auxiliary class. </quote></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Any ideas ? </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thanks,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Kevin<BR></DIV></DIV><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: kevin james <kevinjj33@yahoo.com><BR>To: François Beretti <francois.beretti@gmail.com><BR>Sent: Monday, September 25, 2006 4:37:04 PM<BR>Subject: Re: [Fedora-directory-users] Re: Extending inetOrgPerson's schema to support custom attributes<BR><BR>
<STYLE type=text/css><!-- DIV {margin:0px;}--></STYLE>

<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Francois,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>Thanks for your quick and helpful reply, I tried what you explained,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">So I create a new file called 70kevin.ldif and put this into it</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">dn: cn=schema<BR>objectClass: top<BR>objectClass: inetorgPerson<BR>objectClass: subschema<BR>attributeTypes: ( 1.3.6.1.4.1.5923.1.1.1.2 NAME 'policyNos' DESC 'Policy Num<BR> bers for Insured' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.<BR> 1.15 X-ORIGIN 'user defined' )<BR>objectClasses: ( 1.3.6.1.4.1.12274.1.1.2.1 NAME 'externalUser' DESC '' SUP inet<BR> orgPerson AUXILLARY MAY ( policyNos ) X-ORIGIN 'user defined' )<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I restarted slapd and I got this warning</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">"Entry "cn=schema" missing attribute "sn" required by object class "inetOrgPerson""</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I can see 'externalUser' but when I try to create a new user, it asks me for the policyNos attribute but not the other attributes of inetOrgPerson, when I try to create the object I get an object violation error.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I didnt quite understand this part you mentioned , what else could I be missing.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><quote>.....and have your users implement both inetOrgPerson and your auxiliary class. </quote></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Any ideas ? </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thanks,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Kevin<BR></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: François Beretti <francois.beretti@gmail.com><BR>To: kevin james <kevinjj33@yahoo.com>; General discussion list for the Fedora Directory server project. <fedora-directory-users@redhat.com><BR>Sent: Monday, September 25, 2006 3:59:11 PM<BR>Subject: Re: [Fedora-directory-users] Re: Extending inetOrgPerson's schema to support custom attributes<BR><BR>Hi,<BR><BR>a few thoughts from someone who is not a fedoraDS expert :<BR>- 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 <BR>- 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 <BR>- 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.<BR><BR><BR>Regards,<BR><BR>François<BR><BR><BR><BR>
<DIV><SPAN class=gmail_quote>2006/9/25, kevin james <<A id=bodyLinks href="mailto:kevinjj33@yahoo.com" target=_blank rel=nofollow> kevinjj33@yahoo.com</A>>:</SPAN> 
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">Oops I pressed the enter key and the mail got sent, Yahoo Beta Mail is too Ajaxified :)</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">These were the lines I added to the bottom of the 99users.ldif</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">My custom attribute being called "policyNos"</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">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' )<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">I was able to restart slapd with no problems, but it still doesnt show up in my list of attrbutes for inetOrgPerson.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">Again any suggestions would be greatly appreciated.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">Thanks,</DIV><SPAN class=sg>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">Kevin<BR></DIV></SPAN>
<DIV><SPAN class=e id=q_10de6847f5d3e417_2>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">----- Original Message ----<BR>From: kevin james <<A id=bodyLinks href="mailto:kevinjj33@yahoo.com" target=_blank rel=nofollow> kevinjj33@yahoo.com</A>><BR>To: <A id=bodyLinks href="mailto:fedora-directory-users@redhat.com" target=_blank rel=nofollow>fedora-directory-users@redhat.com</A><BR>Sent: Monday, September 25, 2006 3:43:07 PM <BR>Subject: Extending inetOrgPerson's schema to support custom attributes<BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<DIV>Hello All,</DIV>
<DIV><BR>I'm trying to extend the inetOrgPerson's schema in order to better support our companie's </DIV>
<DIV>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. </DIV>
<DIV> </DIV>
<DIV>Here's what I've done so far. Any help would be greatly appreciated.</DIV>
<DIV> </DIV>
<DIV>These are the lines I added to the bottom of the 99users.ldif file.</DIV>
<DIV> </DIV></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><BR></DIV></SPAN></DIV></DIV></DIV><BR>--<BR>Fedora-directory-users mailing list<BR><A id=bodyLinks href="mailto:Fedora-directory-users@redhat.com" target=_blank rel=nofollow>Fedora-directory-users@redhat.com</A><BR><A id=bodyLinks href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target=_blank rel=nofollow>https://www.redhat.com/mailman/listinfo/fedora-directory-users</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></DIV></DIV><BR></DIV></div></body></html>