|
|
|
|
Note
If all your Windows NT users are guaranteed to be authenticated by the Samba server
(for example, if Samba authenticates via an NT domain server and the user has already been
validated by the domain controller in order to log on to the Windows NT session), then guest
access is not necessary. Of course, in a workgroup environment where you just want
to print without worrying about silly accounts and security, then configure the share for
guest access. You should consider adding
map to guest = Bad User
in the
[global]
section as well. Make sure you understand what this
parameter does before using it.
read only = yes
Because we do not want everybody to upload driver files (or even change driver settings),
we tagged this share as not writable.
write list = @ntadmin, root
The
[print$]
was made read-only by the previous
setting so we should create a
write list
entry also. UNIX
groups are denoted with a leading “@” character. Users listed here are allowed
write-access (as an exception to the general public's read-only access), which they need to
update files on the share. Normally, you will want to name only administrative-level user
account in this setting. Check the file system permissions to make sure these accounts
can copy files to the share. If this is a non-root account, then the account should also
be mentioned in the global
printer admin
parameter. See the smb.conf man page for more information on configuring file shares.
|
|
|