Re: [Samba] cups newbe

2004-11-22 Thread dahopkins
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???..
 
In my experience, this message is related to Windows not knowing/getting the 
printer queue information from Samba correctly (printing will still work 
though).  Try adding 
  lpq command = lpstat -o %p

to the [Printers] section.  You may need to look at the description for the 
lpq command to get the correct syntax for your setup.  You may also want to 
look at the lprm command as well.
  lprm command = cancel %p-%j
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] cups newbe

2004-11-19 Thread Shane Drinkwater
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 = 1-2
winbind uid = 1-2
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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba