> From [EMAIL PROTECTED] Mon May 13 08:43:07 2002
> Date: Mon, 13 May 2002 10:20:26 -0400
> From: Rick Cochran <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: BUG: Credentials file not found (was: kerberos -> segfault)
>
> This is the result of two bugs in LPRng.
>
> 1) Whatever mechanism LPRng uses to set the UID back to the real user
> when the LPRng client executables are installed SUID does not impress
> the kerberos library code. It was looking for the credential cache for
> user '0' instead of user '500'.
>
> 2) The sense of the test for 'enable_setuid+set' in 'configure' is
> backwards. This also has the effect of making '--enable-setuid' the
> default.
>
> *** configure.orig Mon May 6 12:00:18 2002
> --- configure Mon May 13 10:11:28 2002
> ***************
> *** 3048,3056 ****
> # Check whether --enable-setuid or --disable-setuid was given.
> if test "${enable_setuid+set}" = set; then
> enableval="$enable_setuid"
> - PERMS=NORM_PERMS
> - else
> PERMS=SUID_ROOT_PERMS
>
> fi;
> echo "$as_me:$LINENO: result: $PERMS" >&5
> --- 3048,3056 ----
> # Check whether --enable-setuid or --disable-setuid was given.
> if test "${enable_setuid+set}" = set; then
> enableval="$enable_setuid"
> PERMS=SUID_ROOT_PERMS
> + else
> + PERMS=NORM_PERMS
>
> fi;
> echo "$as_me:$LINENO: result: $PERMS" >&5
configure --help |grep setuid
--disable-setuid do not install client executables setuid root
Seems to work OK...
Patrick
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------