mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
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
This commit is contained in:
parent
97d6795361
commit
733457a94e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user