[Fedora-directory-users] schema import

Philip Lembo plembo at yahoo.com
Sun Jun 5 22:53:19 UTC 2005


Fedora/Red Hat DS puts its schema files in the same
place as the Netscape and Sun directories, under the
directory server root in
slapd-instancename/config/schema. With the rpm
install, it will be in
/opt/fedora-ds/slapd-instancename. Instancename
defaults to the relative domain name of the host. On
one of my servers, for example, they're in
/opt/fedora-ds/slapd-serv02/config/schema. The files
are loaded in numeric order. The file the system puts
user-defined (through the console) schema objects is
99user.ldif. Just adding your schema objects to this
file or another similarly named (I've got one called
98samba.ldif to support Samba accounts) will cause it
to be read in the next time the service is restarted.
The Netscape family of directory servers are usually
not a strict about enforcing schema rules as OpenLDAP,
but you should compare the file you want to import to
the standard files that are already there (don't ever
modify *those* files) to make sure you've got the
format correct. There are slight differences between
how Netscape and OpenLDAP cast schema objects that
could cause you trouble. The Red Hat Directory
documentation (in particular the Schema Guide) are
really excellent resources on this stuff. As you get
more familiar with the directory product what you find
in the doc begins to make even more sense.


Phil Lembo



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Fedora-directory-users mailing list