View | Details | Raw Unified | Return to bug 239105 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=			${SAMBA4_BASENAME}410
4
PORTNAME=			${SAMBA4_BASENAME}410
5
PORTVERSION=			${SAMBA4_VERSION}
5
PORTVERSION=			${SAMBA4_VERSION}
6
PORTREVISION=			0
6
PORTREVISION=			1
7
CATEGORIES?=			net
7
CATEGORIES?=			net
8
MASTER_SITES=			SAMBA/samba/stable SAMBA/samba/rc
8
MASTER_SITES=			SAMBA/samba/stable SAMBA/samba/rc
9
DISTNAME=			${SAMBA4_DISTNAME}
9
DISTNAME=			${SAMBA4_DISTNAME}
(-)files/patch-python-provision-uidgid_fix (+17 lines)
Line 0 Link Here
1
diff --git a/python/samba/provision/__init__.py b/python/samba/provision/__init__.py
2
index d95f46a..b63ef2e 100644
3
--- a/python/samba/provision/__init__.py
4
+++ python/samba/provision/__init__.py
5
@@ -786,8 +786,10 @@ def setup_name_mappings(idmap, sid, root_uid, nobody_uid,
6
     """
7
     idmap.setup_name_mapping("S-1-5-7", idmap.TYPE_UID, nobody_uid)
8
 
9
-    idmap.setup_name_mapping(sid + "-500", idmap.TYPE_UID, root_uid)
10
-    idmap.setup_name_mapping(sid + "-513", idmap.TYPE_GID, users_gid)
11
+    # we should not mess with local uid/gid numbers (especially not root's
12
+    # and the domain mappings, see bug 9837.
13
+    #idmap.setup_name_mapping(sid + "-500", idmap.TYPE_UID, root_uid)
14
+    #idmap.setup_name_mapping(sid + "-513", idmap.TYPE_GID, users_gid)
15
 
16
 
17
 def setup_samdb_partitions(samdb_path, logger, lp, session_info,

Return to bug 239105