[opensuse] LDAP:how to controll what schemas are loaded when creating the database
Hi there, I *desperately* try to force the ldapserver to use the following schemas: include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema #include /etc/openldap/schema/rfc2307bis.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/samba3.schema include /etc/openldap/schema/yast.schema I have addapted the slapd.conf file in /etc/openldap accordingly. however, when I start the LDAP-Server (after having provided the neccessary details in yast) the set of schemata is taken from some unknown origin. how can I controll that thanks for your time robert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I have addapted the slapd.conf file in /etc/openldap accordingly.
however, when I start the LDAP-Server (after having provided the neccessary details in yast) the set of schemata is taken from some unknown origin. maybe the configuration is _inside_ the ldap database?
Maybe deleting all files in the ldap database direcory could help..? mj -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I have addapted the slapd.conf file in /etc/openldap accordingly.
however, when I start the LDAP-Server (after having provided the neccessary details in yast) the set of schemata is taken from some unknown origin. maybe the configuration is _inside_ the ldap database?
Maybe deleting all files in the ldap database direcory could help..?
mj
mourik jan c heupink schrieb: thanks mj for your answer, what I finaly did is the following (making Yast unusable for handling ldap) so for the sake of other pour souls trying to do the same I sketch out my solution.. - delete both the content of - /var/lib/ldap - /etc/openldap/slapd.d keep the folders tough do not! start ldap (using rcldap or yast) as this would recreate the database start slapd with the following parameters (assuming that you have edited /etc/openldap/slapd.conf according to your needs. /usr/lib/openldap/slapd -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d -u ldap -g ldap -o slp=off -d 1 man slapd explains the used parameter. important is the fact, that using both -f and -F forces slapd to convert the oldstyle config file (slapd.conf) into a newstyle config database (in slapd.d) robert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
mourik jan c heupink
-
robert rottermann