selftest: test new "lsa over netlogon" smb.conf option
authorAndrew Bartlett <abartlet@samba.org>
Mon, 12 Dec 2016 23:25:12 +0000 (12:25 +1300)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Dec 2016 11:11:09 +0000 (12:11 +0100)
This proves we can act like Windows and over lsarpc over netlogon if we want

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Dec 15 12:11:09 CET 2016 on sn-devel-144

selftest/knownfail
selftest/target/Samba4.pm

index 795e345a25c170e719ee4bc017b8caa7553554c9..d96e238796c34521e60fb3b386f5ae0f6175f5ec 100644 (file)
@@ -79,7 +79,7 @@
 ^samba4.rpc.netlogon.*.NetrEnumerateTrustedDomainsEx
 ^samba4.rpc.netlogon.*.GetPassword
 ^samba4.rpc.netlogon.*.DatabaseRedo
-^samba4.rpc.netlogon.*.netlogon.lsa_over_netlogon #Broken by split of \\pipe\lsass from \\pipe\netlogon in the IDL
+^samba4.rpc.netlogon.*.netlogon.lsa_over_netlogon\(ad_dc\) #Broken by split of \\pipe\lsass from \\pipe\netlogon in the IDL
 ^samba4.rpc.netlogon.*.netlogon.SetupCredentialsDowngrade\(ad_dc_ntvfs\) # Broken by allowing NT4 crypto on this environment
 ^samba4.rpc.netlogon.*.netlogon.SetupCredentialsDowngrade\(ad_dc_ntvfs:local\) # Broken by allowing NT4 crypto on this environment
 ^samba4.rpc.drsuapi.*ncacn_ip_tcp.*validate # should only work with seal
index 9e3047577c9ea74dd7f5fab81080898c65a19afc..80fbd0337f4f9f92e2ed6f726df47078d5d81843 100755 (executable)
@@ -1399,6 +1399,7 @@ sub provision_ad_dc_ntvfs($$)
         server services = +winbind -winbindd
        ldap server require strong auth = allow_sasl_over_tls
        allow nt4 crypto = yes
+       lsa over netlogon = yes
        ";
        my $ret = $self->provision($prefix,
                                   "domain controller",