samba cups and turboprint problem
Silvino B. Magalhaes
sbm at baydenet.com.br
Sat Sep 28 01:32:02 EST 2002
Hello Linux Samba List,
I'm trying to print from windows client to an HP 695C printer on
the samba server, but this printer isn't visible from the clients
to install new printer, only machine are visible from network
browsing.
On the server (slackware 7.1) I got printing from all aplications
and testing printing. The printer is called tp0 and is the only
line on the /etc/printcap file.
When runing testprns tp0 /etc/printcap, tp0 is a valid printer.
I had installed cups (1.1.12) , turboprint (1.51) and samba (2.2.5)
from the source in this same order.
For compile samba, I used configure --enable-cups to include libcups.
If printing = cups and printcap name = cups is setting as suggestion
in man smb.conf, the clients can't autenticate on the samba server.
What is wrong in my smb.conf file ?
My smb.conf file:
#======================= smb.conf begin =============================
[global]
workgroup = POLIQ
server string = Samba Server
hosts allow = 192.168.1.0./24 127.0.0.1
; guest account = pcguest
log file = /usr/local/samba/var/log.%m
; log level = 1
max log size = 50
security = user
; include = /usr/local/samba/lib/smb.conf.%m
; socket options = TCP_NODELAY
; interfaces = 192.168.12.2/24 192.168.13.2/24
; host msdfs = yes
## Network Browsing
; local master = no
os level = 50
domain master = yes
preferred master = yes
## WINS & Name Resolution
wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
dns proxy = no
## Passwords & Authentication
; password server = *
; password server = <NT-Server-Name>
encrypt passwords = yes
; obey pam restrictions = yes
; unix passwword sync = yes
; passwd chat = <custom chat string>
; pam password change = yes
## Domain Control
domain logons = yes
; logon script = %m.bat
logon script = %U.bat
; logon path = \\%L\Profiles\%U
; logon home = \\%L\%U
; logon drive = H:
## Printing
load printers = yes
printcap name = /etc/printcap
printing = bsd
; disable spoolss = yes
printer admin = root
## Winbind
; winbind uid = 10000-65000
; winbind gid = 10000-65000
; winbind template homedir = /home/%D/%U
; winbind template shell = /bin/sh
; winbind separator = +
#====================== Share Definitions ===========================
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = yes
# Set public = yes to allow user 'guest account' to print
guest ok = yes
writable = no
printable = yes
[public]
comment = Public Stuff
path = /home/samba/pub
public = yes
writable = yes
printable = no
write list = @users
#======================= smb.conf eof ===============================
More information about the linux
mailing list