Igor Belyi wrote:
Mattia wrote:

[EMAIL PROTECTED] root]# slapadd -l Master.ldif -f /etc/openldap/slapd.conf
slapadd: bad configuration file!


Try adding "-d 15" to your slapadd command for more verbose explanation of the error.

Igor

Igor, thanks a lot! Now it's much clearer

[EMAIL PROTECTED] root]# slapadd -l Master.ldif -f /etc/openldap/slapd.conf -d 15
slapadd init: initiated tool.
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
>>> dnNormalize: <cn=Subschema>
<<< dnNormalize: <cn=subschema>
could not open config file "/etc/openldap/schema/samba.schema": No such file or directory (2)
slapadd: bad configuration file!


in fact now I remember I had to manually copy this file in the right directory when I've installed the master too...
now it works great


[EMAIL PROTECTED] root]# slapadd -l Master.ldif -f /etc/openldap/slapd.conf
[EMAIL PROTECTED] root]#

Thanks to all for the help

Bye... Mattia
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to