[Samba] smbd fails to start on Fedora Core 4

Gavin Simpson gavin.simpson at ucl.ac.uk
Wed Feb 15 19:32:53 GMT 2006


On Wed, 2006-02-15 at 13:06 -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Gavin Simpson wrote:
> 
> >> Thanks for your reply. I noted that in the log, so tried to copy across
> >> the secrets.tbd file from the previous installation. Once I got it there
> >> I restarted smb but I get the same error message.
> > 
> >> These are the contents of /etc/samba:
> > 
> >> # ls -l /etc/samba
> >> total 24
> >> -rw-------  1 root root 8192 Aug 30 15:15 secrets.tdb
> >> -rw-r--r--  1 root root    0 Feb 15 15:30 smb.conf
> >> -rw-r--r--  1 root root   97 May  2  2005 smbusers
> > 
> >> Are the permissions correct? I used rsync to back these things up and
> >> the rsync arguments I used should have preserved them.
> > 
> >> How do I go about getting the secrets.tdb file back then. Is this
> >> distributed with Samba, or can I create an empty file of this name?
> 
> if you remove the file, smbd should just create a new on
> on startup.  Of course this will also generate a new MACHINE/Domain
> SID which could be a problem if this is a domain controller.

Hi Jerry,

Thanks for the help. I just removed the file and tried a restart. Same
problem as before and same messages in smbd.log. No secrets.tdb created.
I changed write permissions on this directory temporarily to make it
world writable and tried again - with the same results.

I'm basically only using samba for the print serving, so I'm not worried
about the SID.

Any other suggestions I can try?

All the best,

Gav

> 
> 
> 
> 
> cheers, jerry
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFD83ubIR7qMdg1EfYRAuzHAJ47Ou5ZvuSCbJukrQhwB/XZMS/mMACfWDr5
> SUaaXyrW5NBHnbp7JA+gSnE=
> =Md2q
> -----END PGP SIGNATURE-----
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson                     [T] +44 (0)20 7679 5522
ENSIS Research Fellow             [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC                 [E] gavin.simpsonATNOSPAMucl.ac.uk
UCL Department of Geography       [W] http://www.ucl.ac.uk/~ucfagls/cv/
26 Bedford Way                    [W] http://www.ucl.ac.uk/~ucfagls/
London.  WC1H 0AP.
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




More information about the samba mailing list