git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40bc651
)
s3:lib/netapi: avoid calling cli_set_username()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 26 Sep 2014 01:14:53 +0000
(
03:14
+0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 17 Oct 2014 10:57:07 +0000
(12:57 +0200)
Change-Id: I3ab768d2df06749187555a16d7b930f7cc8f8b9f
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/lib/netapi/cm.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/cm.c
b/source3/lib/netapi/cm.c
index 4e5bc2f1ae9f5dbedaa26f90c93f72139d8cb91e..0e05af84312821ba13311b250b6730b2020dd80b 100644
(file)
--- a/
source3/lib/netapi/cm.c
+++ b/
source3/lib/netapi/cm.c
@@
-113,9
+113,7
@@
static WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
false, false,
lp_client_max_protocol(),
0, 0x20, &cli_ipc);
- if (NT_STATUS_IS_OK(status)) {
- cli_set_username(cli_ipc, ctx->username);
- } else {
+ if (!NT_STATUS_IS_OK(status)) {
cli_ipc = NULL;
}
TALLOC_FREE(auth_info);