sachin.davra |
02-12-2014 05:42 AM |
printer sharing on samba , please help
i am trying to share a printer on samba so that windows users can print using my linux print server.
here is my smb.conf file
Code:
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
; netbios name = MYSERVER
netbios name = CUPS-PRINTING
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
interfaces = lo eth0 eth0:1
hosts allow = 192.168.
# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach
# logs split per machine
log file = /var/log/samba/log.%m
# max 50KB per log file, then rotate
max log size = 50
# ----------------------- Standalone Server Options ------------------------
#
# Scurity can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
security = user
passdb backend = tdbsam
Code:
load printers = yes
cups options = raw
printcap name = printcap
printing = cups
security = share
printcap name = /etc/printcap
Code:
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
read only = yes
writable = no
create mask = 0700
printable = yes
public = yes
use client driver = yes
guest account = print
when i access it on windows machine, i can't see my printer there.
for accessing printer i use
open Run --> \\CUPS-PRINTING
it opens up but doesn't show printer.
i have setup a user using smbpasswd. it's name is print
need help to configure it correctly so that it may work.
|