Message-ID: <3DC2C89C.4090902@discoverynet.com> Date: Fri, 1 Nov 2002 07:26:24 -0600 From: "Eric R." <rossiter@discoverynet.com> Subject: Re: samba/redhat8.0
Ok Al, we'll give it a shot. Comments are in-line:
Aldis A. Tuck wrote:
> Greetings,
> Im having trouble with samba in RH8.
> This is what I have for my smb.conf:
> [global]
> workgroup = foo
this needs to be what your win box thinks the workgroup is...
I believe they must match.
> security = share
I have security = user
> valid user = %s
I don't have the above line at all.
> encrypt passwords = no
I have "yes"
> server string = foo
I have server string = Samba%v@%h
> local master = yes
> os level = 33
I have "32"
> domain master = yes
I have "no"
> preferred master = yes
I also have in [global]:
hosts allow = (your home ip range - i.e 192.168.10.0/255.255.255.0
netbios name = phoenix.magness.com (our internal domain - you may not
have one)
>
> [windows public share]
try setting this label to just "public" i.e. [public]
> comment = public share file
> read only = no
> path = /usr/local/windows public share
do you have a directory under /usr/local/ called "windows public share"?
try creating a directory call windows. I recall reading somewhere Linux
doesn't like file names with spaces. I suspect this is the bulk of
your problem.
> public = yes
I also have the following:
browseable = yes
create mode = 0777
directory mode = 0777
Also:
Start here:
Create Samba passwords:
mksmbpasswd.sh < /etc/passwd > /etc/smbpasswd
Register Samba passwords:
smbpasswd user_name
Then backup and edit smb.conf.
Backup smb.conf
cp /etc/smb.conf /etc/smb.conf.bak
If this doesn't help, shoot me an email, maybe we can get together this
evening or tomorrow, and see what we can come up with.
Good Luck,
Eric