s3:rpcclient: only require netlogon_creds for specified netlogon calls
authorStefan Metzmacher <metze@samba.org>
Thu, 26 Mar 2015 13:41:09 +0000 (14:41 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 30 Mar 2015 11:41:25 +0000 (13:41 +0200)
commit337d86f87e4f35bb2b2b4d858c3cb835a7a5da79
tree1caa49195a246907ca4a30a87735209c97b0fc14
parentc3747f9658fe1365a140622d3e12823dad7cb39e
s3:rpcclient: only require netlogon_creds for specified netlogon calls

A lot of calls on the netlogon pipe doesn't require netlogon credentials,
e.g. netr_LogonControl*() should work just with administrator credentials.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/rpcclient/cmd_netlogon.c
source3/rpcclient/rpcclient.c
source3/rpcclient/rpcclient.h