[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#5615) Unix based auth (SASL/External) not working on solaris 10(patch included)
Full_Name: David Markey
Version: 2.4
OS: Solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (79.97.241.103)
here's the bug
in
liblutil/getpeereid.c
#if defined( HAVE_GETPEERUCRED )
ucred_t *uc = NULL;
if( getpeerucred( s, &uc ) == 0 ) {
*euid = ucred_geteuid( uc );
*egid = ucred_getegid( uc );
ucred_free( uc );
}
it's missing a "return 0;" after ucred_free.
Thanks to Howard for spotting this and fixing it. Its going perfectly now.
Tested on Solaris 10 and Nevada X86