[Samba] 3.0.1-member-server-printing

Manfred Odenstein manfred.odenstein at chello.at
Wed Feb 11 11:01:15 GMT 2004


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

scenario:
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:
...
[printers]
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
...
[print$]
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



More information about the samba mailing list