From 733457a94ecfa09712ad115eded66d6b3e56c042 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 7 Jul 2011 19:48:02 +0200 Subject: selftest/Samba3: enable uid wrapper in nmbd, winbindd and smbd metze Signed-off-by: Andreas Schneider Autobuild-User: Andreas Schneider Autobuild-Date: Thu Oct 6 13:49:05 CEST 2011 on sn-devel-104 --- selftest/target/Samba3.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'selftest/target') diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index a5c11d9afc..45d99cef41 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -555,6 +555,8 @@ sub check_or_start($$$$) { $ENV{NSS_WRAPPER_GROUP} = $env_vars->{NSS_WRAPPER_GROUP}; $ENV{NSS_WRAPPER_WINBIND_SO_PATH} = $env_vars->{NSS_WRAPPER_WINBIND_SO_PATH}; + $ENV{UID_WRAPPER} = "1"; + if ($nmbd ne "yes") { $SIG{USR1} = $SIG{ALRM} = $SIG{INT} = $SIG{QUIT} = $SIG{TERM} = sub { my $signame = shift; @@ -599,6 +601,8 @@ sub check_or_start($$$$) { $ENV{NSS_WRAPPER_GROUP} = $env_vars->{NSS_WRAPPER_GROUP}; $ENV{NSS_WRAPPER_WINBIND_SO_PATH} = $env_vars->{NSS_WRAPPER_WINBIND_SO_PATH}; + $ENV{UID_WRAPPER} = "1"; + if ($winbindd ne "yes") { $SIG{USR1} = $SIG{ALRM} = $SIG{INT} = $SIG{QUIT} = $SIG{TERM} = sub { my $signame = shift; @@ -645,6 +649,8 @@ sub check_or_start($$$$) { $ENV{NSS_WRAPPER_GROUP} = $env_vars->{NSS_WRAPPER_GROUP}; $ENV{NSS_WRAPPER_WINBIND_SO_PATH} = $env_vars->{NSS_WRAPPER_WINBIND_SO_PATH}; + $ENV{UID_WRAPPER} = "1"; + if ($smbd ne "yes") { $SIG{USR1} = $SIG{ALRM} = $SIG{INT} = $SIG{QUIT} = $SIG{TERM} = sub { my $signame = shift; -- cgit