[Samba] Printer settings don't stick

Gerald (Jerry) Carter jerry at samba.org
Mon Aug 7 16:17:04 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephen Thomas wrote:

> 1.  Does ntforms.tdb only store certain standard settings 
> (page size, orientation, whatever) or can it hold
> anything a Windows printer driver cares to throw at it?

ntforms only stores paper sizes.  ntprinters store the per
user printer information.

> 2.  Do I need to make ntforms.tdb writable by anybody 
> other than root (for example, should I set it to
> root:lpadmin rwxrwxr-x like the directory where print$
> is mapped)?

No.  The tdb is opened as root and smbd does the
appropriate access checks internally.

> 3.  Is that amount of DCERPC traffic normal, or is 
> this likely to be a bonehead Windows driver trying
> over and over again to read some kind of status
> data back from the printer?

It can be both depending on the driver.  If it's the
exact same request over and over, it's probably the XP
spooler caught in a loop.

> 4.  Where should I be looking to find out how to 
> decipher the DCERPC traffic?

Use ethereal (now called wireshark).  Best SMB/CIFS/MS-RPC
anaylzer around.






cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE12eAIR7qMdg1EfYRAnYGAJ4gTywP+3PpjrQY8XYg7544WdUKhACdFr7l
sMSyevoXjvLGJglstd9XmRI=
=MoEV
-----END PGP SIGNATURE-----


More information about the samba mailing list