hello,
to let the linux machine browse MS windows machines i use this in my /etc/fstab
//sparches/c /net/sparches smbfs username=pbharris,password=thisisabadpassword,noau to 0 0
to enable MSwindows machines to access my linux computer i sue this, i am guessing that you don't have any directories that anyone can access.
Code:
# Global parameters
workgroup = HARRIS
server string = Samba Server
security = USER
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY
dns proxy = No
guest account = guest
print command = lpr -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j
encrypt passwords = yes
#printcap name = lpstat
#printing = cups
[homes]
comment = Home Directories
path = /home
writeable = yes
[printers]
comment = All Printers
path = /var/spool/samba
print ok = Yes
browseable = No
[tmp]
comment = Temporary stuff
path = /tmp
guest ok = Yes
[lp]
comment = Printer
path = /var/spool/samba
read only = No
guest ok = Yes
print ok = Yes
printer name = lp
oplocks = No
share modes = No
[music]
path = /oggs
guest ok = Yes
read only = Yes
[cdrom]
path = /mnt/cdrom
guest ok = Yes
read only = Yes
another thing i did was add a user that also has an acocunt on the linux box, e.g.
smbadder pbharris
b
samba will prompt for a password and then the person logging in on the mswindows machine will be mapped to the linux user, in this example pb is the ms windows user mapped to the linux user pbharris. so, when pb logs onto the network he will be mapped to the user pbharris on the linux machine.
Bookmarks