libnet_join: fix "net rpc oldjoin"
authorStefan Metzmacher <metze@samba.org>
Thu, 16 Nov 2017 21:09:20 +0000 (21:09 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 17 Nov 2017 23:09:16 +0000 (00:09 +0100)
commitd27f38d35bf111a5c0a898a5ef8b7dd0b320da0d
treee4dac77c3b0714dd9d9985059a19b7c5eac7f041
parent9466796c87cc4ca8d32da553421cd8ecef1bb8e4
libnet_join: fix "net rpc oldjoin"

We need to open the ncacn_np (smb) transport connection with
anonymous credentials.

In order to do netr_ServerPasswordSet*() we need to
establish a 2nd netlogon connection using dcerpc schannel
authentication.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/oldjoin [deleted file]
source3/libnet/libnet_join.c