[Samba] printer permissions <-> ERROR: NULL dest in safe_strcpy (samba 3.0.0)

christoph.beyer at desy.de christoph.beyer at desy.de
Tue Nov 18 09:59:14 GMT 2003


Hi Jerry et al,

my apologize, the temp-file acl's haven't change from the 2.2.* version,
I just forgot the 's-bit' on the lpr binary :-(


best regards
	~christoph


-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */


On Mon, 17 Nov 2003, Gerald (Jerry) Carter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> christoph.beyer at desy.de wrote:
> |
> | thanks I will try that out during this week, I have another one:
> |
> | I'm mapping everyone to 'nobody' unfortunately the acl's of
> | the temprorary files are not readable by the user 'lp':
> |
> | [printsrv4] ~lp/etc # tail -f /tmp/samba_acls.txt
> | -rw-------   1 nobody   nobody    111614 Nov 17 15:58
> smbprn.00000026.EaaqrB
> | -rw-------   1 nobody   nobody    111613 Nov 17 16:01
> smbprn.00000027.rUai4B
> |
> | I tried 'force create mode = 0777' but it doesn't
> | seem to have any impact on the acl's of the temporary
> | spool files. Did I miss something, I think
> | the same configuration worked fine under 2.2.x (?)
>
> Yeah.  See lib/util.c:smb_mkstemp().  I just checked though and
> the code is identical to what is in 2..  Are you doing guest
> printing?  The problem might be the facft that the 'guest
> account' parameter in now global rather than on a per share basis
> like it was in 2.2.
>
> You could try 'force user = lp'.  That would work for 9x
> clients but not for NT or later.
>
>
> - --
> cheers, jerry
> - ----------------------------------------------------------------------
> Hewlett-Packard            ------------------------- http://www.hp.com
> SAMBA Team                 ---------------------- http://www.samba.org
> GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
> "If we're adding to the noise, turn off this song" --Switchfoot (2003)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQE/uPcOIR7qMdg1EfYRAnyNAKDmN/xjkroAEd2bpd0ay6md/zzibgCcDMtK
> xN2FeS3ZADEma+48n9fIwc0=
> =pCIy
> -----END PGP SIGNATURE-----
>
>




More information about the samba mailing list