Hello,
This is my first samba server that I used cups for the printing sub system.
After getting everything setup and running I am getting a "Access denied,
unable to connect" error on the printer window, but I can still print test
pages???..
my smb.conf
[global]
#=============== Local Master Settings========================== domain
master = no
local master = yes
preferred master = yes
os level = 65
#============================================================== printing
= cups
printcap = cups
null passwords = yes
encrypt passwords = yes
wins server = 172.27.1.17
remote announce = 172.27.1.7
max log size = 0
interfaces = eth1 lo
bind interfaces only = yes
large readwrite = yes
map to guest = bad user
veto files = /*.eml/*.nws/riched20.dll/
security = user
dns proxy = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8576
lpq cache time = 30
password server = *
printer admin = @CSQ+"Programmers",@CSQ+"Domain
Admins",@CSQ+"Domain
Users",@CSQ+"PA Doctors"
#============================Domain Stuff
================================== winbind cache time = 60
winbind separator = +
winbind gid = 10000-20000
winbind uid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
#==========================================================================
workgroup = CSQ
server string = Samba Server for DV
netbios name = dvrouter
log file = /var/log/samba/%m.log
load printers = yes
write cache size = 128000
[printers]
comment = All Printers
path = /var/spool/samba
public = yes
guest ok = yes
writable = yes
printable = yes
[public]
path = /home/samba/public
writable = yes
public = yes
[nt-apps]
path = /home/samba/nt-apps
writable = yes
public = yes
create mode = 777
I compiled cups and samba from sources the commands I used are:
./configure --prefix=/usr/local/cups
configure --with-winbind --with-pam --with-smbmount --enable-cups
using the ldd `which smbd` The smbd daemon is compiled correctly with the
correct cups lib.
Any Ideas....
Shane Drinkwater