[cups.general] cups v6 driver for windows

Angela Gavazzi edv at goetheanum.ch
Thu Jan 5 07:44:47 PST 2006


Am Donnerstag, 5. Januar 2006 16.08 schrieb Helge Blischke:
> Then try to compile the cupsaddsmb from the svn repository

As you can see below, I just tried it.
> (http://svn.easysw.com), or try do perform all the steps "by hand" as
> described in the SAMBA howto.
I'm not happy about this, but I will have to try this way. 
The cupsaddsmb is a great way, when it works
thanks
angela
>
> Helge
>
> Angela Gavazzi wrote:
> > I'm, using version 1.1.23-10 from Debian stable.
> >
> > by angela
> >
> > Am Mittwoch, 4. Januar 2006 18.10 schrieb Helge Blischke:
> > > Angela Gavazzi wrote:
> > > > Hallo,
> > > >
> > > > I have an old samba-cups printserver (debian woody), connected to the
> > > > domain through winbind, that I must replace now.
> > > >
> > > > I'm trying to the it running for days now... read the postings on
> > > > this list, posted in the samba list, tryed to replace cupsaddsmb with
> > > > the one of the repository, but I'm not sure if it was the right way,
> > > >
> > > > I installed a new samba-cups server on a sarge machine. Windbind
> > > > works, I can get all users and groups.
> > > > I copied the generic windows postscript driver files as in
> > > > cupsaddsmb-manpage described to /usr/share/cups/drivers (tried also
> > > > adobe drivers)
> > > > Also tried the same with the cups driver, that I would prefere to
> > > > use. Installed a printer in cups (test), reloaded smb.conf (also
> > > > restarted samba) - I can see the printer from windows.
> > > >
> > > > When I try to cupsaddsmb the printer driver for the windows clients,
> > > > nothing happens. No driver is copied to
> > > > /var/lib/samba/printers/W32X86/3, on the console I get the message,
> > > > that the driver was addedd successfully, nothing seem to be written
> > > > to printers.tdb (size doesn't change and tdbbackup gives an empy
> > > > file)
> > > >
> > > > cupsaddsmb -v -U administrator test
> > > > Password for administrator required to access localhost via SAMBA:
> > > > Running command: rpcclient localhost -N -U'administrator%xxxxx' -c
> > > > 'setdriver test test'
> > > > Succesfully set test to driver test.
> > > >
> > > > I tried with version 3.0.14 from sarge, 3.0.20b from testing and now
> > > > 3.0.21 from sid, because I saw that there was a resolved bug about
> > > > not writing to printers.tdb
> > > >
> > > > Set this permissions:
> > > > (user admin is in lpadmin group)
> > > > drwxrwxrwx  4 root root 4096 Jan  2 12:05 /var/lib/samba/printers/*
> > > > drwxrwsr-x  2 admin lpadmin 4096 Jan  2 11:52
> > > > /usr/share/cups/drivers/
> > > >
> > > > drwxrwxrwt  2 admin lpadmin 4096 Jan  2 21:49 /var/spool/samba/
> > > >
> > > > -rw-r--r--  1 admin lpadmin 131584 J
> > > > /usr/share/cups/drivers/PS5UI.DLL -rw-r--r--  1 admin lpadmin  25113 
> > > > /usr/share/cups/drivers/PSCRIPT.HLP -rw-r--r--  1 admin lpadmin
> > > > 792644  /usr/share/cups/drivers/PSCRIPT.NTF -rw-r--r--  1 admin
> > > > lpadmin 455168  /usr/share/cups/drivers/PSCRIPT5.DLL
> > > >
> > > > (tried also with lower and uppercase driver file names.)
> > > > -r-xr-xr-x  1 admin lpadmin   760 Jan  2 12:57 CUPS6.INF
> > > > -r-xr-xr-x  1 admin lpadmin    67 Jan  2 12:57 CUPS6.INI
> > > > -r-xr-xr-x  1 admin lpadmin  9529 Jan  2 12:57 CUPS6.PPD
> > > > -r-xr-xr-x  1 admin lpadmin 12568 Jan  2 12:57 CUPSPS6.DLL
> > > > -r-xr-xr-x  1 admin lpadmin 13672 Jan  2 12:57 CUPSUI6.DLL
> > > >
> > > > -r-xr-xr-x  1 admin lpadmin   760 Jan  2 21:55 cups6.inf
> > > > -r-xr-xr-x  1 admin lpadmin    67 Jan  2 21:55 cups6.ini
> > > > -r-xr-xr-x  1 admin lpadmin  9529 Jan  2 21:55 cups6.ppd
> > > > -r-xr-xr-x  1 admin lpadmin 12568 Jan  2 21:55 cupsps6.dll
> > > > -r-xr-xr-x  1 admin lpadmin 13672 Jan  2 21:55 cupsui6.dll
> > > >
> > > > As I said at the beginning, I downloaded the drivers v6 from the
> > > > repository and the cupsaddsmb.c file.
> > > > To compile it I tryed to replace it with the one of my debian
> > > > package. the ./configure and make... then replaced the cupsaddsmb
> > > > binary. I didn't have a better idea to compile it, sorry.
> > > >
> > > > Could please! someone help me to get this running?
> > > > I have to migrate the cupsserver bevor migrating my domain. I was
> > > > waiting for a long time for the new drivers, but I must proceed now,
> > > > so I really need help to get a new cups-server running for my windows
> > > > clients.
> > > >
> > > > tia angela
> > > >
> > > > I attach a log from cupsaddsmb with debug level 5 and here's testparm
> > > > output:
> > > >
> > > > [global]
> > > >         workgroup = AAG
> > > >         server string = Samba %v
> > > >         security = DOMAIN
> > > >         password server = 192.168.100.30
> > > >         log level = 5 winbind:2 passdb:5 printdrivers:5 tdb:5
> > > >         syslog = 0
> > > >         log file = /var/log/samba/log.%m
> > > >         printcap name = cups
> > > >         preferred master = No
> > > >         domain master = No
> > > >         wins server = 192.168.100.30
> > > >         panic action = /usr/share/samba/panic-action %d
> > > >         idmap uid = 10000-20000
> > > >         idmap gid = 10000-20000
> > > >         winbind separator = +
> > > >         printing = cups
> > > >         print command =
> > > >         lpq command = %p
> > > >         lprm command =
> > > >
> > > > [printers]
> > > >         comment = All Printers
> > > >         path = /var/spool/samba
> > > >         write list = root, @AAG+Domänen-Admins
> > > >         create mask = 0700
> > > >         printable = Yes
> > > >         browseable = No
> > > >
> > > > [print$]
> > > >         comment = Printer Drivers
> > > >         path = /var/lib/samba/printers
> > > >         write list = @AAG+Domänen-admins, root,
> > > >         guest ok = Yes
> > >
> > > What CUPS version do you use? for using the v6 stuff, you need to use
> > > the cupsaddsmb from 1.1.23.
> > >
> > > If your CUPS version is older (I don't know the lowest version you may
> > > use), get the cupsaddsmb from the 1.1.23 tarball and use that. Or
> > > perform all steps "by hand" as described in the SAMBA howto (chapter
> > > 20, I think).
> > >
> > > Helge





More information about the cups mailing list