s3:cli_pipe: pass down creds->computer_name to NL_AUTH_MESSAGE
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Aug 2013 11:28:59 +0000 (13:28 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 10 Aug 2013 07:18:57 +0000 (09:18 +0200)
commit838cb539621ef19cac6badb4b10678dcc3a6f68a
treec534053d2ccd62937cc51ebfb1f2e1c3126642cf
parente96142fc439efb7c90719f9c387778c4218ae637
s3:cli_pipe: pass down creds->computer_name to NL_AUTH_MESSAGE

We need to use the same computer_name value as in the netr_Authenticate3()
request.

We abuse cli->auth->user_name to pass the value down.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_client/cli_pipe.c