LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2005, 09:17 AM   #1
tplessers
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 9.1
Posts: 8

Rep: Reputation: 0
samba can't find .ldaprc


Hello,

I have a strange but funny problem :

I installed, configured and tested a Samba PDC (3.0.14a) which uses OpenLDAP (2.2.29) and TLS (port 389) for secure connections. I use smbldap-tools (0.9.1) to manage users/groups, etc. My distribution is Fedora Core 4 (updated with YUM).

I have a file '/root/.ldaprc' which contains TLS_CERT and TLS_KEY references to my certificate and key.

When I do a '/etc/init.d/smb restart' samba starts and works perfect.
When I do a 'service smb restart' samba complains (20 times) about not being able to startTLS (connect error).
When I restart my computer, starting samba gives the same problem.

When I delete the /root/.ldaprc file '/etc/init.d/smb restart' gives the same errors.

I guess 'service smb restart' doesn't know how to find my /root/.ldaprc file.

I tried copying it to /root/ldaprc, /etc/ldaprc, /etc/init.d/ldaprc and /sbin. Without success.

Does anybody know how to solve this, it's very frustrating.

Thanks and greetings,
Tim.
 
Old 12-16-2005, 09:19 AM   #2
tplessers
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 9.1
Posts: 8

Original Poster
Rep: Reputation: 0
Oh yes, one more thing:

TLS_CERT and TLS_KEY are also present in /etc/ldap.conf

In case you wondered.

Tim.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba (can not find -lssl) slackwbas Slackware 4 08-29-2005 12:58 PM
samba stuff : how i can find it? Gkarfield Linux - Networking 2 09-01-2004 09:58 AM
couldn't find service c$ Samba psmaglik Linux - General 0 07-13-2004 01:34 PM
SAMBA - Can't find smbd Irving Linux - Software 3 06-25-2004 03:32 PM
Samba: How to find out what is compiled tarballed Linux - Software 11 06-02-2003 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration