diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-07 19:48:02 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-10-06 13:49:05 +0200 |
commit | 733457a94ecfa09712ad115eded66d6b3e56c042 (patch) | |
tree | ec40301feebf4b02daf91fb60064489c2c6dc51a /selftest/target | |
parent | 97d679536150c5365a78b84e68da18e9f6b9d0c2 (diff) | |
download | samba-733457a94ecfa09712ad115eded66d6b3e56c042.tar.gz samba-733457a94ecfa09712ad115eded66d6b3e56c042.tar.bz2 samba-733457a94ecfa09712ad115eded66d6b3e56c042.zip |
selftest/Samba3: enable uid wrapper in nmbd, winbindd and smbd
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Oct 6 13:49:05 CEST 2011 on sn-devel-104
Diffstat (limited to 'selftest/target')
-rwxr-xr-x | selftest/target/Samba3.pm | 6 |
1 files changed, 6 insertions, 0 deletions
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; |