Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual page 277

Table of Contents

Advertisement

recommended. Any files placed in the share space, regardless of user, are
assigned the user/group combination as specified by a generic user (
) and group (
user
[global] workgroup = DOCS netbios name = DOCS_SRV security = share [data]
comment = Data path = /export force user = docsbot force group = users read
only = No guest ok = Yes
3.1.3. Anonymous Print Server
The following
smb.conf
print server. Setting
browseable
Neighborhood. Although hidden from browsing, configuring the printer explicitly is possible. By
connecting to
DOCS_SRV
also part of the
workgroup. It is also assumed that the client has the correct local printer
DOCS
driver installed, as the
server has no responsibility for sharing printer drivers to the client.
[global] workgroup = DOCS netbios name = DOCS_SRV security = share printcap
name = cups disable spools= Yes show add printer wizard = No printing = cups
[printers] comment = All Printers path = /var/spool/samba guest ok = Yes
printable = Yes use client driver = Yes browseable = Yes
3.1.4. Secure Read/Write File and Print Server
The following
smb.conf
read/write print server. Setting the
client connections. Notice the
directive as the
[public]
for any files created as opposed to the
[global]
workgroup = DOCS
netbios name = DOCS_SRV
security = user
printcap name = cups
disable spools = Yes
show add printer wizard = No
printing = cups
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
force group
file shows a sample configuration needed to implement an anonymous
to
as shown does not list the printer in Windows Network
no
using NetBIOS, the client can have access to the printer if the client is
directive is set to
use client driver
file shows a sample configuration needed to implement a secure
security
share does not have a
[homes]
share does. The
[homes]
force user
) in the
file.
smb.conf
. In this case, the Samba
Yes
directive to
forces Samba to authenticate
user
force user
share uses the authenticated user details
and
force group
Stand-alone Server
force
or
force group
in
.
[public]
253

Advertisement

Table of Contents
loading

Table of Contents