anw
24th January 2009, 18:55
Good day,
Any samba experts out there? I have it *almost* set up the way I want. Here's what I want to do (everything is referenced between a linux file server and a M$ workstation):
1. Anyone that has an account on the linux machine maps their home directory, the available USB drives, printers (there are two printers, one shared by a M$ workstation, one attempting to be shared by the linux workstation), and a large, public "guest" area that is also in /home (/home/guest).
2. If they don't have an account on the linux machine, anyone on the private 192.168.1/24 subnet has access to the guest area and printers.
The situation is that #1 works, #2 doesn't.
So, the bottom line, how do I give access to everyone on the private subnet to the guest area, even if they don't have a login?
Here's smb.conf:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/09/06 20:20:02
[global]
workgroup = CSUNV-EXECUTIVE
printcap name = cups
disable spoolss = Yes
show add printer wizard = No
printing = cups
print command =
lpq command = %p
lprm command =
server string = Big Share
wins support = no
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[public]
comment = Public Data
path = /home/guest
force user = guest
read only = No
available = yes
browseable = no
public = yes
writable = yes
[usb_disk]
comment = USB disk on Linux
path = /media/usb
read only = No
available = no
browseable = no
public = no
writable = no
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root, anw
create mask = 0600
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
TIA!
anw
Any samba experts out there? I have it *almost* set up the way I want. Here's what I want to do (everything is referenced between a linux file server and a M$ workstation):
1. Anyone that has an account on the linux machine maps their home directory, the available USB drives, printers (there are two printers, one shared by a M$ workstation, one attempting to be shared by the linux workstation), and a large, public "guest" area that is also in /home (/home/guest).
2. If they don't have an account on the linux machine, anyone on the private 192.168.1/24 subnet has access to the guest area and printers.
The situation is that #1 works, #2 doesn't.
So, the bottom line, how do I give access to everyone on the private subnet to the guest area, even if they don't have a login?
Here's smb.conf:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/09/06 20:20:02
[global]
workgroup = CSUNV-EXECUTIVE
printcap name = cups
disable spoolss = Yes
show add printer wizard = No
printing = cups
print command =
lpq command = %p
lprm command =
server string = Big Share
wins support = no
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[public]
comment = Public Data
path = /home/guest
force user = guest
read only = No
available = yes
browseable = no
public = yes
writable = yes
[usb_disk]
comment = USB disk on Linux
path = /media/usb
read only = No
available = no
browseable = no
public = no
writable = no
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root, anw
create mask = 0600
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
TIA!
anw