Linux Samba almost setup
Stephen L Arnold
sarnold at coyote.rain.org
Sat Mar 13 06:34:47 GMT 1999
On 13 Mar 99, "Tom Roche" <tom_roche at ncsu.edu> had questions about
Linux Samba almost setup:
> I got a number of responses to my last post; thanks to all. I
> implemented them in /etc/smb.conf as follows:
[snip]
The workgroup names just need to match. I'm pretty sure you need
the hosts allow line. If you only have one NIC, you shouldn't need
the interfaces line.
> > ; encrypt passwords = yes
This is where your setup might be inconsistent. The RedHat rpm
puts files in different places (eg, smbpasswd) than the stock samba
install (why, I have no idea). You can look in the samba src rpm,
or compare the RedHat makefile in the samba src package to the
regular makefile.
RedHat installs without shadow passwords by default, however the
password tools support them. All you have to do is create the
/etc/shadow file. If you're using shadow passwords, then you will
have this file, and /etc/passwd will have all passwords stripped
out of it. See the RedHat Install Guide for more.
Samba can look in /etc/shadow for passwords, but the RedHat binary
doesn't have it compiled in.
Oh, and I think the RedHat52 /etc/hosts file needs to have this:
127.0.0.1 localhost
not loopback. Also, you should kill named if it's starting at
bootup. Look in /etc/rc.d/rc3.d (rc5.d if you're starting xdm) for
the link that starts named and change the S to a K in the link name
(sorry if you already know this:).
That's about all I can think of for now...
Steve
*************************************************************
Steve Arnold http://www.rain.org/~sarnold
Linux: It's not just for nerds anymore...
More information about the samba
mailing list