diff options
author | Andrew Bartlett <abartlet@samba.org> | 2016-11-14 10:15:39 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2016-12-20 01:11:23 +0100 |
commit | 86e706a32dbd2259a428009f7097e7ea6c3f4f8d (patch) | |
tree | 2872fac87d65a546a438eedc1588243d5739ccbe /selftest | |
parent | b81cf02834bdd5b0925949cc9d42897aa3054746 (diff) | |
download | samba-86e706a32dbd2259a428009f7097e7ea6c3f4f8d.tar.gz |
selftest: Use 'rpc server port:netlogon' and 'rpc server port' smb.conf option
We need this because once we make NETLOGON run in multiple processes,
it will need its own port, and socket_wrapper can not currently allocate
and ephemeral port. It also tests the option, which others have asked be
made available to firewall drsuapi.
Likewise the 'rpc server port' option is used to confirm it
functions for the default port'.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/target/Samba4.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 80fbd0337f4..88551350267 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -592,6 +592,9 @@ sub provision_raw_step1($$) idmap_ldb:use rfc2307=yes winbind enum users = yes winbind enum groups = yes + + rpc server port:netlogon = 1026 + "; print CONFFILE " @@ -1400,6 +1403,7 @@ sub provision_ad_dc_ntvfs($$) ldap server require strong auth = allow_sasl_over_tls allow nt4 crypto = yes lsa over netlogon = yes + rpc server port = 1027 "; my $ret = $self->provision($prefix, "domain controller", |