From 0def0f1112088420a051a7843c9d79848c8c50fd Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Wed, 18 Aug 2004 14:10:03 +0000 Subject: - workaround "Change Passwort" GID problem PR: 52859, 60361 Submitted by: Jean Milanez Melo --- net/samba/Makefile | 1 + net/samba/files/patch-util_sec.c | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 net/samba/files/patch-util_sec.c diff --git a/net/samba/Makefile b/net/samba/Makefile index c04b1184d90c..7653f9dd9362 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -7,6 +7,7 @@ PORTNAME= samba PORTVERSION= 2.2.11 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SAMBA} MASTER_SITE_SUBDIR= . old-versions diff --git a/net/samba/files/patch-util_sec.c b/net/samba/files/patch-util_sec.c new file mode 100644 index 000000000000..a49ddcc6a8bf --- /dev/null +++ b/net/samba/files/patch-util_sec.c @@ -0,0 +1,15 @@ +*** source/lib/util_sec.c Wed Jul 17 15:47:49 2002 +--- source/lib/util_sec.c.neu Mon Jun 2 15:30:43 2003 +*************** +*** 112,119 **** +--- 112,121 ---- + (int)rgid, (int)egid, + (int)getgid(), (int)getegid(), + (int)getuid(), (int)geteuid())); ++ #if 0 + smb_panic("failed to set gid\n"); + exit(1); ++ #endif + } + } + } -- cgit v1.2.3