auth:credentials: avoid talloc_reference in cli_credentials_set_netlogon_creds()
authorStefan Metzmacher <metze@samba.org>
Fri, 20 Sep 2013 02:33:07 +0000 (04:33 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 Oct 2013 21:56:01 +0000 (23:56 +0200)
commit556f66bd56415d83be936e28d41946c39e379914
tree6a493ff1e889a46f39475496588b6c3728edfd71
parenta62927ef882a5ed7bee1c737c44dd29b13e724e0
auth:credentials: avoid talloc_reference in cli_credentials_set_netlogon_creds()

Typically cli_credentials_set_netlogon_creds() should be used directly
before the DCERPC bind. And cli_credentials_get_netlogon_creds()
should be only used by the gensec layer, which only needs a copy.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Oct 16 23:56:01 CEST 2013 on sn-devel-104
auth/credentials/credentials.c