]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest:Samba3: don't use PAM_WRAPPER_KEEP_DIR and PAM_WRAPPER_DEBUGLEVEL
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Jul 2024 07:27:37 +0000 (09:27 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 23 Jul 2024 12:44:32 +0000 (12:44 +0000)
They are both only for debugging problems.

In normal runs we don't need them and this avoids leaving to many
/tmp/pam.* directories arround.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9705

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
selftest/target/Samba3.pm

index c7cdbefc72d820783fcbdcdadd868bc3115b4aa1..b35769266aea0e967c9819b240fc7d716b5769c9 100755 (executable)
@@ -1809,9 +1809,8 @@ sub setup_simpleserver
        close(FILE);
 
        $vars->{PAM_WRAPPER} = "1";
-       $vars->{PAM_WRAPPER_KEEP_DIR} = "1";
        $vars->{PAM_WRAPPER_SERVICE_DIR} = $pam_service_dir;
-       $vars->{PAM_WRAPPER_DEBUGLEVEL} = "3";
+       #$vars->{PAM_WRAPPER_DEBUGLEVEL} = "3";
 
        if (not $self->check_or_start(
                env_vars => $vars,