Justin Albstmeijer
2005-Aug-17 15:04 UTC
[Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
fedora-directory-users,
using: RHEL4 (update 1), fedora-ds-7.1-2.RHEL4
Trying to follow the instructions on
http://directory.fedora.redhat.com/wiki/Howto:SolarisClient.
Both the published DUAConfigProfile schema and the
http://web.singnet.com.sg/~garyttt/DUAConfigProfile.schema.txt converted
by ol-schema-migrate.pl don''t seem to be able to be imported.
Both result in :
cn=schema: Error adding object ''dn: cn=schema''. The error
sent by the
server was ''Object class violation. missing required attribute
"objectclass"
Any suggestions?
---
Note: in my case the ol-schema-migrate.pl output did not include the
"objectClasses", had to fix this in the script by changing:
- if ( /object[c|C]lass/ ) {
+ if ( /^object[c|C]lass/ ) {
(There where comments in the DUAConfigProfile with an "objectclass"
mentioned)
---
Justin
Nathan Kinder
2005-Aug-17 16:01 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
Justin Albstmeijer wrote:>fedora-directory-users, > >using: RHEL4 (update 1), fedora-ds-7.1-2.RHEL4 > >Trying to follow the instructions on >http://directory.fedora.redhat.com/wiki/Howto:SolarisClient. > >Both the published DUAConfigProfile schema and the >http://web.singnet.com.sg/~garyttt/DUAConfigProfile.schema.txt converted >by ol-schema-migrate.pl don''t seem to be able to be imported. > >Both result in : > >cn=schema: Error adding object ''dn: cn=schema''. The error sent by the >server was ''Object class violation. missing required attribute >"objectclass" > >Any suggestions? > >You shouldn''t be trying to add a new "cn=schema" entry, but instead you should be adding the "attributetype" and "objectclasses" attributes from the published DUAConfigProfile schema to the existing "cn=schema" entry. You can do this with the ldapmodify tool. The DUAConfig Profile schema output on the wiki appears to be search output. -NGK>--- >Note: in my case the ol-schema-migrate.pl output did not include the >"objectClasses", had to fix this in the script by changing: > >- if ( /object[c|C]lass/ ) { >+ if ( /^object[c|C]lass/ ) { > >(There where comments in the DUAConfigProfile with an "objectclass" >mentioned) >--- > >Justin > > > > > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Mike Jackson
2005-Aug-17 18:22 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
Justin Albstmeijer wrote:>Both the published DUAConfigProfile schema and the >http://web.singnet.com.sg/~garyttt/DUAConfigProfile.schema.txt converted >by ol-schema-migrate.pl don''t seem to be able to be imported. > > >Hi, I wrote that ol-schema-migrate.pl tool. My first bug report! I have never seen this "objectIdentifier" definition before, but it looks like something OpenLDAP would do: -- objectIdentifier DUAConfSchemaOID 1.3.6.1.4.1.11.1.3.1 attributetype ( DUAConfSchemaOID:1.0 -- I will possibly enhance the script to support that , although I really wonder how often it is used...>--- >Note: in my case the ol-schema-migrate.pl output did not include the >"objectClasses", had to fix this in the script by changing: > >- if ( /object[c|C]lass/ ) { >+ if ( /^object[c|C]lass/ ) { > >(There where comments in the DUAConfigProfile with an "objectclass" >mentioned) > >Yes, I see what you mean. I will fix this. BR, -- mike
Rich Megginson
2005-Aug-17 19:25 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
Mike Jackson wrote:> Justin Albstmeijer wrote: > >> Both the published DUAConfigProfile schema and the >> http://web.singnet.com.sg/~garyttt/DUAConfigProfile.schema.txt converted >> by ol-schema-migrate.pl don''t seem to be able to be imported. >> >> >> > Hi, > I wrote that ol-schema-migrate.pl tool. My first bug report! > > I have never seen this "objectIdentifier" definition before, but it > looks like something OpenLDAP would do: > > -- > > objectIdentifier DUAConfSchemaOID 1.3.6.1.4.1.11.1.3.1 > > attributetype ( DUAConfSchemaOID:1.0 > > -- > > I will possibly enhance the script to support that , although I really > wonder how often it is used...I''ve seen it in several of the newer OpenLDAP schema files. I doubt FDS will support that, since our schema files are in LDIF format you see if you do an ldapsearch of the cn=schema entry, and that syntax is not valid RFC2252.> > >> --- >> Note: in my case the ol-schema-migrate.pl output did not include the >> "objectClasses", had to fix this in the script by changing: >> >> - if ( /object[c|C]lass/ ) { >> + if ( /^object[c|C]lass/ ) { >> >> (There where comments in the DUAConfigProfile with an "objectclass" >> mentioned) >> >> > > Yes, I see what you mean. I will fix this. > > BR, > -- > mike > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
Justin Albstmeijer
2005-Aug-18 08:21 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
I suppose someone got it to work? non of the previous suggestions did the trick. Anyone? I seem to be looking for a modify ldif file to import the DUAConfigProfile Schema Justin
Igor
2005-Aug-19 14:52 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
I''m having a problem similar to yours (after running the ol-schema-migrate.pl: # ./start-slapd [19/Aug/2005:10:43:09 -0400] dse - The entry cn=schema in file /opt/fedora-ds/slapd-cnyitlin02/config/schema/61solaris.ldif is invalid, error code 21 (Invalid syntax) - attribute type nisDomain: Missing attribute syntax OID This is after I removed the 61dua...file. That one bombs as well. Anybody has a working pair of those 2 schemas, in FDS ldif format I can use? Thank you. --- Justin Albstmeijer <justin@VLAMea.nl> wrote:> > I suppose someone got it to work? non of the > previous suggestions did the > trick. > > Anyone? I seem to be looking for a modify ldif file > to import the > DUAConfigProfile Schema > > Justin > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users>__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Justin Albstmeijer
2005-Aug-19 15:00 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
Igor, Yes got it to work eventually. Just copy these two files to /opt/fedora-ds/slapd-cnyitlin02/config/schema/ and restart de slapd instance. Justin> I''m having a problem similar to yours (after running > the ol-schema-migrate.pl: > > # ./start-slapd > [19/Aug/2005:10:43:09 -0400] dse - The entry cn=schema > in file > /opt/fedora-ds/slapd-cnyitlin02/config/schema/61solaris.ldif > is invalid, error code 21 (Invalid syntax) - attribute > type nisDomain: Missing attribute syntax OID > > This is after I removed the 61dua...file. That one > bombs as well. > > Anybody has a working pair of those 2 schemas, in FDS > ldif format I can use? > > Thank you. > --- Justin Albstmeijer <justin@VLAMea.nl> wrote: > >> >> I suppose someone got it to work? non of the >> previous suggestions did the >> trick. >> >> Anyone? I seem to be looking for a modify ldif file >> to import the >> DUAConfigProfile Schema >> >> Justin >> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users@redhat.com >> > https://www.redhat.com/mailman/listinfo/fedora-directory-users >> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Mike Jackson
2005-Aug-19 15:25 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
Igor wrote:>I''m having a problem similar to yours (after running >the ol-schema-migrate.pl: > ># ./start-slapd >[19/Aug/2005:10:43:09 -0400] dse - The entry cn=schema >in file >/opt/fedora-ds/slapd-cnyitlin02/config/schema/61solaris.ldif >is invalid, error code 21 (Invalid syntax) - attribute >type nisDomain: Missing attribute syntax OID > >This is after I removed the 61dua...file. That one >bombs as well. > >Anybody has a working pair of those 2 schemas, in FDS >ldif format I can use? > >Hi, Please send me a copy of your original schema, so that I can make corrections to the schema migration tool. BR, Mike
Igor
2005-Aug-19 18:25 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
Mike, I got the original schema from Gary''s site: http://web.singnet.com.sg/~garyttt/DUAConfigProfile.schema.txt --- Mike Jackson <mj@sci.fi> wrote:> Igor wrote: > > >I''m having a problem similar to yours (after > running > >the ol-schema-migrate.pl: > > > ># ./start-slapd > >[19/Aug/2005:10:43:09 -0400] dse - The entry > cn=schema > >in file > >/opt/fedora-ds/slapd-cnyitlin02/config/schema/61solaris.ldif > >is invalid, error code 21 (Invalid syntax) - > attribute > >type nisDomain: Missing attribute syntax OID > > > >This is after I removed the 61dua...file. That one > >bombs as well. > > > >Anybody has a working pair of those 2 schemas, in > FDS > >ldif format I can use? > > > > > > Hi, > Please send me a copy of your original schema, so > that I can make > corrections to the schema migration tool. > > BR, > Mike > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users>__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Mike Jackson
2005-Aug-19 18:32 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
Igor wrote:>Mike, I got the original schema from Gary''s site: > >http://web.singnet.com.sg/~garyttt/DUAConfigProfile.schema.txt > >--- Mike Jackson <mj@sci.fi> wrote: > > >I mean that 61solaris.ldif. Can you show me that one before it was converted? -- mike
Igor
2005-Aug-19 21:15 UTC
Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
this is it. --- Mike Jackson <mj@sci.fi> wrote:> Igor wrote: > > >Mike, I got the original schema from Gary''s site: > > > >http://web.singnet.com.sg/~garyttt/DUAConfigProfile.schema.txt > > > >--- Mike Jackson <mj@sci.fi> wrote: > > > > > > > > I mean that 61solaris.ldif. Can you show me that one > before it was > converted? > > -- > mike > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users>__________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html