Re: [Samba] Re: Unstable printing w/3.2.0

2008-08-05 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adam Tauno Williams wrote:
 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

 [EMAIL PROTECTED] var]# rm ./lib/samba/printing/cenps.tdb
 rm: remove regular file `./lib/samba/printing/cenps.tdb'? y
 # Restart SMB services
 [EMAIL PROTECTED] var]# rcsmb start
 Starting SMB services: [  OK  ]
 Starting NMB services: [  OK  ]
 
 Users can now print to the queue again, no Access Denied message.


Are there any messages in the log files about a corrupted tdb ?
The only change I could think of is a change in the way the security
access check for a job  is done.  Jeremy might remember more.





cheers, jerry
- --
=
Samba--- http://www.samba.org
Likewise Software  -  http://www.likewisesoftware.com
What man is a man who does not make the world better?  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFImIawIR7qMdg1EfYRArtFAJ0UT+4irY0x/0+XvA7dZcMOaV2jRACfQ9kI
k8gGGM3GcuB5vhe6rOhUIGE=
=4Cf5
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Unstable printing w/3.2.0

2008-08-04 Thread Adam Tauno Williams
 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
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] var]# ps ax | grep smb
 6956 pts/1S+ 0:00 grep smb
# Remove the related tdb file
[EMAIL PROTECTED] var]# rm ./lib/samba/printing/cenps.tdb
rm: remove regular file `./lib/samba/printing/cenps.tdb'? y
# Restart SMB services
[EMAIL PROTECTED] var]# rcsmb start
Starting SMB services: [  OK  ]
Starting NMB services: [  OK  ]

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


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