Armstrong, Scott Mr CECOM RDEC NVESD
2001-Apr-26 12:44 UTC
Print Driver Support under Samba 2.20
I'm having problems getting print drivers to install under Samba 2.2 under
Solaris 7 SPARC
I'm not yet trying to use addprinter or deleteprinter - simply to install
print drivers which can be downloaded to Win2K/WinNT/Win9x clients.
I'm using the HP Point and Print bundles to support HP LaserJet 4000 series
printers and I've tried both PCL6 and Postscript without success.
I execute the Add Printer Wizard from Windows 2000 Professional and it seems
to execute properly. I see the files being copied, but when it returns
showing the process as finished, there are still no drivers registered for
the printer.
I've captured level 10 debug info which I can send along as needed.
The share definitions section of smb.conf is as follows
[printers]
path = /var/spool/lp/tmp/samba
printable = yes
browseable = no
admin users = armstron
printer admin = armstron
;
[print$]
path = /var/spool/lp/drivers
writeable = yes
browseable = yes
admin users = armstron
printer admin = armstron
;
I've created the print$ directory structure
.:
total 18
drwxrwsrwx 7 root ntadmin 512 Apr 26 08:21 ./
drwxrwxrwt 13 root root 2560 Apr 26 08:39 ../
drwxrwsr-x 2 root ntadmin 512 Apr 25 07:55 W32ALPHA/
drwxrwsr-x 2 root ntadmin 512 Apr 25 07:55 W32MIPS/
drwxrwsr-x 2 root ntadmin 512 Apr 25 07:55 W32PPC/
drwxrwsr-x 2 root ntadmin 512 Apr 26 08:22 W32X86/
drwxrwsr-x 2 root ntadmin 512 Apr 25 05:58 WIN40/
./W32ALPHA:
total 4
drwxrwsr-x 2 root ntadmin 512 Apr 25 07:55 ./
drwxrwsrwx 7 root ntadmin 512 Apr 26 08:21 ../
./W32MIPS:
total 4
drwxrwsr-x 2 root ntadmin 512 Apr 25 07:55 ./
drwxrwsrwx 7 root ntadmin 512 Apr 26 08:21 ../
./W32PPC:
total 4
drwxrwsr-x 2 root ntadmin 512 Apr 25 07:55 ./
drwxrwsrwx 7 root ntadmin 512 Apr 26 08:21 ../
./W32X86:
total 4
drwxrwsr-x 2 root ntadmin 512 Apr 26 08:22 ./
drwxrwsrwx 7 root ntadmin 512 Apr 26 08:21 ../
./WIN40:
total 4
drwxrwsr-x 2 root ntadmin 512 Apr 25 05:58 ./
drwxrwsrwx 7 root ntadmin 512 Apr 26 08:21 ../
I've tried everything from default settings based upon the updated
documentation on the Samba Web Site to modifying permissions of /var/locks
and existing files there to be certain that the "printer admin" can
write to
them but I've been unsuccessful at every attempt.
Any suggestions?
Thanks,
Scott
===============================================================
Scott Armstrong In the days before volcanoes
Department of the Army were invented, lava had to be
Night Vision and Electronic hand carried down from the
Sensors mountain and poured on the
AMSEL-RD-NV-OPS-NS sleeping villagers.
10221 Burbeck Road This took a great deal of
Ft. Belvoir, VA 22060-5806 time.
scott.armstrong@NVL.ARMY.MIL
Voice (703) 704-1764
Fax (703) 704-1953
On Thu, 26 Apr 2001 07:44:24 "Armstrong, Scott" wrote:> > I execute the Add Printer Wizard from Windows 2000 > Professional and it seems to execute properly. I see > the files being copied, but when it returns > showing the process as finished, there are still no > drivers registered for the printer.To set a driver, just use the "New Driver" button from the printer properties dialog. Or is this what you are referring to?> [print$] > path = /var/spool/lp/drivers > writeable = yes > browseable = yes > admin users = armstron > printer admin = armstronHmmm....seems people are taking me too literally. :-) I'll clarify. The [print$] share is a normal file share. Only the name is special. Have you mapped the username 'armstron' to 'ntadmin'. If not then, the permissions outlined below mean that you must connect as root. The 'ntadmin' account is not listed as a printer admin and armstron does not have rights to copy new drives onto [print$].> I've created the print$ directory structure > > .: > total 18 > drwxrwsrwx 7 root ntadmin 512 Apr 26 08:21 ./ > drwxrwxrwt 13 root root 2560 Apr 26 08:39 ../ > drwxrwsr-x 2 root ntadmin 512 Apr 25 07:55 W32ALPHA/ > drwxrwsr-x 2 root ntadmin 512 Apr 25 07:55 W32MIPS/ > drwxrwsr-x 2 root ntadmin 512 Apr 25 07:55 W32PPC/ > drwxrwsr-x 2 root ntadmin 512 Apr 26 08:22 W32X86/ > drwxrwsr-x 2 root ntadmin 512 Apr 25 05:58 WIN40/---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )