]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python:tests: Add SAMR password change tests for fips
authorAndreas Schneider <asn@samba.org>
Wed, 21 Oct 2020 08:09:22 +0000 (10:09 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 29 Oct 2020 15:41:37 +0000 (15:41 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Oct 29 15:41:37 UTC 2020 on sn-devel-184

selftest/target/Samba4.pm

index 649e923ff9a3675d8db3c158f223f566edc4906d..1ebdf2a548419dc1cd23f332b565bb14f37eabcf 100755 (executable)
@@ -1040,7 +1040,7 @@ servicePrincipalName: http/testupnspn.$ctx->{dnsname}
        $samba_tool_cmd .= "KRB5_CONFIG=\"$ret->{KRB5_CONFIG}\" ";
        $samba_tool_cmd .= "KRB5CCNAME=\"$ret->{KRB5_CCACHE}\" ";
        $samba_tool_cmd .= Samba::bindir_path($self, "samba-tool")
-           . " group addmembers --configfile=$ctx->{smb_conf} 'Allowed RODC Password Replication Group' '$testallowed_account'";
+           . " group addmembers --configfile=$ctx->{smb_conf} 'Allowed RODC Password Replication Group' '$testallowed_account' -d10";
        unless (system($samba_tool_cmd) == 0) {
                warn("Unable to add '$testallowed_account' user to 'Allowed RODC Password Replication Group': \n$samba_tool_cmd\n");
                return undef;