connecting to printer only as printeradmin

Rob Foehl rwf at
Fri Dec 3 17:16:00 GMT 2004

On Fri, 3 Dec 2004, Franz [UTF-8] Pförtsch wrote:

>> | When I select the securty tab I got the messsage
>> |
>> |   "Unable to show security information"   :-(((
>> sounds like the security descriptor got corrupted.
>> I think Guenther made a mod to tdbtool (?) for removing
>> the SECDESC entry from ntprinters.tdb for such a case
>> as this.

Yup, it's happened here a few times.  I'd added some code to delete the 
SECDESC when deleting printers, and at the time Guenther suggested 
splitting that out to a commandline util separately.  I don't think he 
actually did it; it's still on my todo list, along with the rest of the 
printcap stuff.

> How do I repair the ntprinters.tdb?
> The samba/printserver is brand new nobody else have worked on it.

tdbtool /path/to/ntprinters.tdb

tdb> keys

tdb> delete SECDESC/foo

Clients should be able to connect after this.  Remember to reset any 
non-default ACLs on the share.


More information about the samba-technical mailing list