Friday, September 5, 2008

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

> (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.)

That won't work. You can do one of the following, though:
grep -i samba /etc/init.d/*
- or -
grep -ri samba /etc/init.d

The -r tells it to be 'recursive' and work on the whole directory,
allowing you to provide it with a directory for an argument.

The -i tells it to ignore case. Normally, grep wants files for
arguments, thus usually you would have to provide it with a wildcard on
the command-line.

Cheers,

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

No comments: