[Samba] Re: Unstable printing w/3.2.0

Adam Tauno Williams adamtaunowilliams at gmail.com
Mon Aug 4 19:30:20 GMT 2008


> 3.) After working perfectly for awhile a specific queue will stop
> working and users will get an "Access Denied" messgaes while other
> queues using the same driver will work perfectly.   Then switching the
> driver on the server around will sometimes make it work.  Othertimes the
> driver needs to be deleted, re-added, and reassigned to the printer to
> make the "Access Denied" message disappear.

Found a seemingly reliable work around for #3.

# Stop SMB services
[root at crew var]# rcsmb stop
Shutting down SMB services:                                [  OK  ]
Shutting down NMB services:                                [  OK  ]
# make sure all the SMB processes have stopped, this may take a minute
[root at crew var]# ps ax | grep smb
 6956 pts/1    S+     0:00 grep smb
# Remove the related tdb file
[root at crew var]# rm ./lib/samba/printing/cenps.tdb
rm: remove regular file `./lib/samba/printing/cenps.tdb'? y
# Restart SMB services
[root at crew var]# rcsmb start
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]

Users can now print to the queue again, no "Access Denied" message.




More information about the samba mailing list