[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLDAP schemas's format?



Hi everybody,

 I'm trying to do Roaming in Netscape with an OpenLDAP server.
I have read an article on linuxworld.com where it is well explained
how to do that but the schema is defined on a format with extension
.conf, which is common on the 1.x distros of OpenLDAP. However I'm
using OpenLDAP 2.x and the schemas are defined quite different. 
 
 I tried to use the schema definition used on the article anyway
on my site but I'm getting message error when I try to load the
ldif file to the database so I think it has to do with the format
of the definition of the schema. 

 How can I translate this schema to one suitable for the OpenLDAP 2.x
software? 
Please correct me if I'm wrong. I include bellow the schema:

# ns-mcd-li-schema.conf
## Originally from
## 
# 
http://help.netscape.com/products/client/communicator/manual_roaming2.html
## Edited to work with OpenLDAP 1.2.5
#
# Netscape Mission Control Desktop Roaming Access schema
#

       attribute nsLIPtrURL 2.16.840.1.113730.3.1.399 ces
       attribute nsLIPrefs 2.16.840.1.113730.3.1.400 ces
       attribute nsLIProfileName 2.16.840.1.113730.3.1.401 cis
       attribute nsLIData 2.16.840.1.113730.3.1.402 bin
       attribute nsLIElementType 2.16.840.1.113730.3.1.403 cis
       attribute nsLIServerType 2.16.840.1.113730.3.1.404 cis
       ##attribute nsLIVersion 2.16.840.1.113730.3.1.405 integer
       attribute nsLIVersion 2.16.840.1.113730.3.1.405 bin
       attribute nsServerPort 2.16.840.1.113730.3.1.280 cis
       objectclass nsLIPtr
       ## oid 2.16.840.1.113730.3.2.74
          requires
            objectclass
          allows
            nsLIPtrURL,
            owner
       objectclass nsLIProfile
       ## oid 2.16.840.1.113730.3.2.75
          requires
            objectclass,
            nsLIProfileName
          allows
            nsLIPrefs,
            uid,
            owner
       objectclass nsLIProfileElement
       ## oid 2.16.840.1.113730.3.2.76
          requires
            objectclass,
            nsLIElementType
          allows
            owner,
            nsLIData
            nsLIVersion
       objectclass nsLIServer
       ## oid 2.16.840.1.113730.3.2.77
          requires
            objectclass,
            serverhostname
          allows
            description,
            cn,
            nsServerPort,
            nsLIServerType,
            serverroot 

-----------------------------------

Thanks in advance,

----sram