Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Dec 2003 11:00:31 +0100
From:      "Ziga Turk" <ziga.turk@itc.fgg.uni-lj.si>
To:        freebsd-ports-bugs@freebsd.org
Subject:   ports/52859: Samba 2.2.8a (2.2.8)- broken support for passwom
Message-ID:  <3FD0654F.15391.934E44@localhost>

next in thread | raw e-mail | index | archive | help
Same problem here:

>Number:         52859
>Category:       ports
>Synopsis:       Samba 2.2.8a (2.2.8)- broken support for password 
changing via CTRL-ALT-DEL on Windows client
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 02 06:20:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Przemyslaw Plaskowicki
>Release:        FreeBSD 4.5-RELEASE-p25 i386
>Organization:
IAVMB
>Environment:

The fix seems to be to comment out some lines in the util_sec.c:

/*********************************************************************
*******
abort if we haven't set the gid correctly
**********************************************************************
******/
static void assert_gid(gid_t rgid, gid_t egid)
{
	if ((egid != (gid_t)-1 && getegid() != egid) ||
	    (rgid != (gid_t)-1 && getgid() != rgid)) {
		if (!non_root_mode()) {
			DEBUG(0,("Failed to set gid privileges to (%d,%d) now set to 
(%d,%d) uid=(%d,%d)\n",
				 (int)rgid, (int)egid,
				 (int)getgid(), (int)getegid(),
				 (int)getuid(), (int)geteuid()));
/* ziga	
			smb_panic("failed to set gid\n");
			exit(1);
*/


-- Ziga Turk, Ph.D., Assoc.Prof.
-- University of Ljubljana, KGI-IKPIR-FGG 
-- Jamova 2, Ljubljana, Slovenia
-- http://www.zturk.com/
-- tel. +386.1.4768.622, fax. +386.1.4250.693



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FD0654F.15391.934E44>