[SCM] Samba Shared Repository - branch master updated
Simo Sorce
idra at samba.org
Tue May 13 07:34:03 MDT 2014
The branch, master has been updated
via 3f60f0e Fix selfetet environment user gid
from c1507bc s4:imessaging: Remove event context from irpc and imessaging structures
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 3f60f0e36b6de1be3944f8de039df875a2278078
Author: Simo Sorce <idra at samba.org>
Date: Tue May 13 12:57:10 2014 +0200
Fix selfetet environment user gid
The real invoking user's gid should be in the /etc/group file or it may
cause spurious error messages.
Signed-off-by: Simo Sorce <idra at samba.org>
Reviewed-by: Andreas Schneider <asn at samba.org>
Autobuild-User(master): Simo Sorce <idra at samba.org>
Autobuild-Date(master): Tue May 13 15:33:21 CEST 2014 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
selftest/target/Samba4.pm | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
mode change 100644 => 100755 selftest/target/Samba4.pm
Changeset truncated at 500 lines:
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
old mode 100644
new mode 100755
index 86ee4fe..15fb5d2
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -511,6 +511,8 @@ sub provision_raw_prepare($$$$$$$$$$)
chomp $unix_name;
$ctx->{unix_name} = $unix_name;
$ctx->{unix_uid} = $>;
+ my @mygid = split(" ", $();
+ $ctx->{unix_gid} = $mygid[0];
$ctx->{unix_gids_str} = $);
@{$ctx->{unix_gids}} = split(" ", $ctx->{unix_gids_str});
@@ -688,6 +690,7 @@ wheel:x:10:
users:x:100:
nobody:x:65533:
nogroup:x:65534:nobody
+$ctx->{unix_name}:x:$ctx->{unix_gid}:
";
close(GRP);
my $gid_rfc2307test = 65532;
--
Samba Shared Repository
More information about the samba-cvs
mailing list