Click to See Complete Forum and Search --> : Simple samba question


Chris L.
10-05-2001, 06:47 PM
First, I have a linux machine running mandrake 8.1 and and windows 98 machine.

I have just changed the workgroup name in the samba.conf file (to @HOME). Now when I go to my windows machine, I can see my linux box in network neighborhood. But, when I double click on it, it says I don't have permission to access this resource.

I have read that you have to configure shares or something like that. I want to be able to see my /home/chris directory from windows 98. How do I do this?

Thanks,
Chris Lynch :)

Blackknight
10-05-2001, 07:44 PM
Just add something like this to your smb.conf file. Now every user with an account can browse their home directory.

[homes]
comment = Home Directories
read only = No
browseable = No

Chris L.
10-05-2001, 08:04 PM
I did that but in windows 98, it still says:

\\Linux resource is not accessable.

No permission to access resource.

Here is a copy of smb.conf if you see any problems:

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2001/10/05 19:55:30

# Global parameters
[global]
workgroup = @HOME
netbios name = LINUX
server string = Samba Server %v
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
dns proxy = No
printing = cups

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
lpq command = lpstat -o %p
lprm command = cancel %p-%j
browseable = No

chikn
10-05-2001, 08:22 PM
Did you
smbpasswd -a <username>