[Samba] 3.0.1-member-server-printing

Bertrand Maugain Bertrand.Maugain at adilan.fr
Wed Feb 11 11:09:27 GMT 2004

I guess your smb.conf is correct.

I'm using cups on freebsd.
I install cups( very easy) and I add a printer thanks to the webinterface.
I print a test page.

After that I upload the drivers in the print$ share by a little bit tricky way.
I log to my domain with root (added with pdbedit...-u root) on my Windows 2000 client ( It is the only case you shoul do it!!).
I browse the network, the sambaserver and go to the printers section.
I right click on the printers , and properties
I'm asked if I want to download the drivers on my client since no drivers are installed.
You have to click "no"
Then you go the drivers section and do as if you install new drivers. You choose in the list and it will upload the drivers on your sambaserver.

It works fine!!

Hope it helps

-----Message d'origine-----
De : Manfred Odenstein [mailto:manfred.odenstein at chello.at]
Envoyé : mercredi 11 février 2004 12:01
À : samba at lists.samba.org
Objet : [Samba] 3.0.1-member-server-printing

hello list,
after successfully playing around to get a working samba
3.0.1-PDC-LDAP-Suse9 configuration a new challenge takes place :

suse9 with samba 3.0.1 as a member server in a NT4 controlled domain.
winbind works as expected (thanks to documention authors). There seems
to be no problem with file sharing, ACL is working properly (I'm using
xfs filesystem). :-)

so, now the problem : printing

1.) sharing the printer(s) works ok, the only problem occurs with long
and short names of Printer shares, I've named the printer queues with
short names and load all printers for sharing, then gave additional
shares with log names referencing the proper queue. My question, is this
a passable solution ??
extract of smb.conf:
comment = All printers
printable = yes
path = /var/spool/samba
browseable = no
guest ok = yes
public = yes
read only = yes
writable = no
printer admin = @ntadmin,DOMAIN+Administrator
                                                                                                                      [hp LaserJet 2200 Series PCL6-2]
printable = yes
path = /var/spool/samba
browseable = yes
guest ok = yes
public = yes
read only = yes
writable = no
printer name = laser2200
printer admin = @ntadmin,DOMAIN+Administrator

2.) driver installation :
I've tried to install the printer drivers for clients (win9x/2000/xp)
via the APW (add printer wizard), but I've failed with "access denied".
If I changed the filesystem permissions in the [print$]-path in the way
that the DOMAIN+Administrator is allowed to create directories and
files, the driver files were copied on to the samba box. But the driver
installation failed (maybe for the default properties).
My question, are there other files where I've to change the permission
to allow DOMAIN+Administrator write access, e.g.
/var/lib/samba/ntprinters.tdb or the the subdirectory containing the
*.tdb(s) for the shared printers (e.g. /var/lib/samba/printing/hp
LaserJet 2200 Series PCL6-2.tdb) ??

extract of smb.file
comment = Printer Driver Download Area
path = /var/lib/samba/drivers
browsable = no
guest ok = yes
read only = yes
write list = @ntadmin,DOMAIN+Administrator,root

thanks in advanced
regards odi

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

More information about the samba mailing list