- 论坛徽章:
- 0
|
我的一个配置,版本较低2.2.1a,当时具体的步骤也忘了,反正就是看文档查网上贴子搞通的。
# Global parameters
[global]
workgroup = WORK
server string = wenlq
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
total print jobs = 10
printcap name = /etc/printcap
domain master = False
dns proxy = No
guest account = hello
hosts allow = 1.1.1.222 1.1.1.2 127.
[homes]
comment = Home Directories
read only = No
[tmp]
comment = temporary files
path = /tmp
[printers]
path = /tmp
printable = Yes
print command = /usr/bin/lp -c -d%p %s; rm %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
lppause command = /usr/bin/lp -i %p-%j -H hold
lpresume command = /usr/bin/lp -i %p-%j -H resume
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p
browseable = No |
|