phpQLAdmin schema

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

 



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




[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