[Samba] Re: Access denied when printing to Samba printers

2003-08-14 Thread Ben Finney
Ben Finney wrote:
Failure:
  - Printing anything to said printer shares.
 [...]
[printers]
comment = All printers
path = /var/local/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
Corey Hart asked me (off-list) to check the permissions on the spool 
directory.  They are:

	$ ls -ld /var/local/samba/spool/
drwxrwxrwt2 root nogroup  4096 Aug  7 13:24 
/var/local/samba/spool/

(This is based on advice to make a separate spool directory, with the 
same permissions as /tmp has.)

--
Ben Finney  <[EMAIL PROTECTED]>
IT Technical Support Officer
Support Centre, The Muir Electrical Company
ph: +61 3 9338 4300  web: 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Access denied when printing to Samba printers

2003-08-14 Thread Ben Finney
Ben Finney wrote:
The Win2000 client, when attempting to print a test page to the printer, 
immediately responds with "Access denied" and an offer to lead me 
through the printer troubleshooting help.
Some other points that may be relevant:

At one point I was using "security = ads" in an attempt to get things 
working; however, the (brief) success was had with "security = 
domain".  I'm still seeing krb5 messages though; is it possible to 
authenticate against a Win2000 Active Directory domain, in "mixed" 
mode, without using kerberos?

I'm using winbindd via PAM, and set up /etc/pam.d/login and 
/etc/pam.d/samba such that authentication appears to be working.  I'm 
happy to be told that this may be affecting it, if only someone can 
help me diagnose it.

--
Ben Finney  <[EMAIL PROTECTED]>
IT Technical Support Officer
Support Centre, The Muir Electrical Company
ph: +61 3 9338 4300  web: 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Access denied when printing to Samba printers

2003-08-14 Thread Ben Finney
[EMAIL PROTECTED] wrote:
Failure:
  - Printing anything to said printer shares.
 [...]
[printers]
comment = All printers
path = /var/local/spool/samba
[...]
$ ls -ld /var/local/samba/spool/
drwxrwxrwt2 root nogroup  4096 Aug  7 13:24 
/var/local/samba/spool/
OMFG.  The spool directory Samba was looking for was not the same as 
the directory I created.  Correct that error, and it's all fine now.

Thank you to the samba list, and Corey Hart in particular, for 
assisting me in seeing what was right in front of my face :-)

--
Ben Finney  <[EMAIL PROTECTED]>
IT Technical Support Officer
Support Centre, The Muir Electrical Company
ph: +61 3 9338 4300  web: 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Access denied when printing to Samba printers

2003-08-14 Thread Kurt Pfeifle
Ben Finney benfinney at thegoodguys.com.au

Thu Aug 14 14:48:23 GMT 2003

Ben Finney wrote:
Failure:
  - Printing anything to said printer shares.
 [...]
[printers]
comment = All printers
path = /var/local/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
Corey Hart asked me (off-list) to check the permissions on the spool 
directory.  They are:

$ ls -ld /var/local/samba/spool/
drwxrwxrwt  2 root  nogroup  4096 Aug  7 13:24  /var/local/samba/spool/
Well -- but your "path" in smb.conf points to "/var/local/spool/samba"
and *not* "/var/local/samba/spool/"
(This is based on advice to make a separate spool directory, with the 
same permissions as /tmp has.)

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