ports/52859: Samba 2.2.8a (2.2.8)- broken support for passwom
Ziga Turk
ziga.turk at itc.fgg.uni-lj.si
Fri Dec 5 10:00:45 UTC 2003
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
More information about the freebsd-ports-bugs
mailing list