Friday, September 5, 2008

Re: [BLUG] SUCCESS! Certain XP machines won't connect to Samba share

On Thu, Sep 04, 2008 at 08:16:32PM -0400, Mark Warner wrote:
>> Try this:
>>
>> 1) service smb stop
>> 2) rm /etc/samba/secrets.tdb
>
> I have an install of the Debian Lenny based MEPIS 8 beta here at home,
> and the above file doesn't appear to exist. (The machine I've been
> working on is the Etch based MEPIS 7.)

RedHat uses a 'service' helper script, presumably to be more like
Windows. (You'd *think* it would handle dependancies, but then this *is*
RedHat we're talking about. They were a good five to seven years later
than Debian in adding package dependancies.)

In Debian, you can just stop and restart using the /etc/init.d scripts.
sudo /etc/init.d/samba stop
- and -
sudo /etc/init.d/samba start

(I think it uses /etc/init.d/samba for all the samba services. It may
be "/etc/init.d/smb". When in doubt a "grep -i samba /etc/init.d" should
find the right file.)

Cheers,

--
Steven Black <blacks@indiana.edu> / KeyID: 8596FA8E
Fingerprint: 108C 089C EFA4 832C BF07 78C2 DE71 5433 8596 FA8E

No comments: