Hi.

The short version of my problem is that the file  /etc/openldap/cacerts 
doesn't exist on my machine.  The long version follows ...



I am trying to set up a Samba/LDAP server according to the instructions at:

http://network.gouldacademy.org/randomfiles/sambaldap/SambaLDAP/node1.html

I get as far as starting ldap with the command:

/etc/init.d/ldap start

The command fails [FAILED]

I have determined that the problem is with the command:

/usr/sbin/slapd  -u ldap -h ldap:///

which fails.

When I run the same command with debugging -

/usr/sbin/slapd -d 4 -u ldap -h ldap:///

I get:

@(#) $OpenLDAP: slapd 2.2.23 (Mar  1 2005 20:28:06) $
        
[EMAIL 
PROTECTED]:/usr/src/build/528835-i386/BUILD/openldap-2.2.23/openldap-2.2.23/build-servers/servers/slapd
daemon_init: ldap:///
bdb_back_initialize: Sleepycat Software: Berkeley DB 4.3.27: (December 22, 
2004)
bdb_back_initialize: Sleepycat Software: Berkeley DB 4.3.27: (December 22, 
2004)
bdb_db_init: Initializing BDB database
TLS: could not load client CA list (file:`',dir:`/etc/openldap/cacerts').
TLS: error:0200A002:system library:opendir:No such file or directory 
ssl_cert.c:752
TLS: error:140D7002:SSL routines:SSL_add_dir_cert_subjects_to_stack:system lib 
ssl_cert.c:754
main: TLS init def ctx failed: -1
slapd stopped.
connections_destroy: nothing to destroy.

The problem seems to be that there is no /etc/openldap/cacerts file.
Where is that supposed to come from ?

 TIA.


-- 
  The day is short, and the work is great,  |  Aharon Schkolnik
  and the laborers are lazy, and the reward |  
  is great, and the Master of the house is  |  [EMAIL PROTECTED]
  impatient. - Ethics Of The Fathers Ch. 2  |  052-5560120

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to