Cesario wrote:
Hi peoples!

   I have qmail and fedora-ds integrated, and I trying to use phpqladmin 
(http://phpqladmin.com/), but I'm having problems with schema.


   I get the schema from phpqladmin and try convert it using 
ol-schema-migrate.pl 
(http://www.netauth.com/~jacksonm/ldap/ol-schema-migrate.pl), but when I start 
the slapd I receive one error, maybe somebody with more experiency can hep me


  Details and schemas

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
ldaptest:/tmp # wget http://www.netauth.com/~jacksonm/ldap/ol-schema-migrate.pl
......
23:54:23 (20.15 KB/s) - `ol-schema-migrate.pl' saved [14877/14877]

ldaptest:/tmp # cp /srv/www/htdocs/phpQLAdmin/schemas/phpQLAdmin.schema .
ldaptest:/tmp # chmod a+x ol-schema-migrate.pl
ldaptest:/tmp # ./ol-schema-migrate.pl -b phpQLAdmin.schema > 
phpQLAdmin.schema.converted
ldaptest:/tmp # cp phpQLAdmin.schema.converted 
/opt/fedora-ds/slapd-ldaptest/config/schema/55ns-phpQLAdmin.ldif

ldaptest:/tmp # /opt/fedora-ds/slapd-ldaptest/start-slapd
[08/Jul/2006:23:57:08 -0300] dse - The entry cn=schema in file 
/opt/fedora-ds/slapd-ldaptest/config/schema/55ns-phpQLAdmin.ldif is invalid, 
error code 21 (Invalid syntax) - attribute type administrator: Missing parent 
attribute syntax OID
[08/Jul/2006:23:57:08 -0300] dse - Please edit the file to correct the reported 
problems and then restart the server.
ldaptest:/tmp #

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Schemas original and converts is attached


Any idea abou solve this error ?

Thanks

Carlos


Hi,
Seems that my schema conversion tool doesn't support attribute inheritance. That's not something which is used very often, however Turbo used it in the phpqladmin schema.

Replace all those lines where you see "SUP owner" in an attribute definition, example:


Current:

attributetype ( 1.3.6.1.4.1.8767.3.2.4.4 NAME 'administrator'
  DESC 'Administrator for branch'
  SUP owner)


Fixed:

attributetype ( 1.3.6.1.4.1.8767.3.2.4.4 NAME 'administrator'
  DESC 'Administrator for branch'
  EQUALITY distinguishedNameMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  SINGLE-VALUE)


 I will keep this in mind for a feature enhancement.

BR,
Mike
--
http://www.netauth.com - LDAP Directory Consulting

--
Fedora-directory-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Reply via email to