Debug/error codes

Joel Hammer Joel at HammersHome.com
Tue Nov 27 13:42:02 GMT 2001


With LPRng there is an lpd.perms file in /etc which controls access to the
printer. It is a nightmare to read. It makes sendmail look easy to
configure. I don't know a thing about your printing
software but there might be something similar.
As a last resort, you might look at the source code and see what is going on
there. (This rarely helps me but if you are at the end of your rope, why
not?)
Joel
On Tue, Nov 27, 2001 at 02:50:55PM -0500, Hal Vaughan wrote:
> I know in some ways the answer is RTFM, but I'm not even sure which docs to 
> read or where they are.
> 
> I've posted about my printing problem before (Win2k SP2 won't print to my 
> Linux server printer), and even though I've had some suggestions, nothing 
> has worked (after a solid week of trying combinations in smb.conf, I'm 
> close to having to drop Linux and go to a complete Windoze LAN, instead of 
> eventually being able to go all Linux).
> 
> I changed the log level in smb.conf and have been reading error 
> messages.  I think some of the lines are truncated, but I need to know what 
> some errors mean and I can't find documentation anywhere on my system or on 
> samba.org telling me where to find meanings of error messages and codes.
> 
> My Win2k (SP2) boxes cannot print (one can print test pages, but nothing 
> else) (I get "Unable to create a print job"), and I cannot read the printer 
> queue from Win2k (unable to connect).  I'm using Samba 2.2.1a with Cups 
> 1.1.12 on an EpsonC60, but I've replaced the print command with a copy 
> command while I'm testing.
> 
> Samba seems to be rejecting the requests from the Win2k machines and I 
> can't see why.  The file shares work and the security is the same for 
> them.  I've set permissions on the spool directory for all to 
> read/write.  When I try to print, a log level of 5 or more gives me :
> 
> [2001/11/26 23:03:29, 3] lib/util_seaccess.c:se_access_check(242)
>    se_access_check: also S-1-5-11
> [2001/11/26 23:03:29, 5] lib/util_seaccess.c:se_access_check(300)
>    se_access_check: access (c000c) denied.
> [2001/11/26 23:03:29, 4] printing/nt_printing.c:print_access_check(3410)
>    access check was FAILURE
> [2001/11/26 23:03:29, 3] 
> rpc_server/srv_spoolss_nt.c:_spoolss_open_printer_ex(812)
>    access DENIED for printer open
> 
> (of course, this is only part -- the entry before the denials and the denials).
> 
> I've been trying to find soemplace that will tell me what these messages 
> mean and why Samba is rejecting access when it does not reject access to 
> file shares.
> 
> Any suggestions for error info or any comments on what these mean?
> 
> Hal
> 
> "To everything there is a season and a time to every purpose under the sun."
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list