summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidfs.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-09-26 03:33:45 +0200
committerAndrew Bartlett <abartlet@samba.org>2014-10-17 12:57:07 +0200
commit98f2946dd1deea558cc41df93c2109754838eae1 (patch)
tree6eddc3a0db2d9297b8f863a38598a206b80bf44f /source3/libsmb/clidfs.c
parent97759ecfaea36555db78a6854355c02acd15053b (diff)
downloadsamba-98f2946dd1deea558cc41df93c2109754838eae1.tar.gz
s3:libsmb: avoid calling cli_set_username() in clidfs
Change-Id: I8b32be8a10d2bff33bb468cc68c98e555b220bde Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r--source3/libsmb/clidfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index d8eb7e90a7b..e5c03a8549b 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -207,9 +207,6 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx,
return status;
}
d_printf("Anonymous login successful\n");
- status = cli_set_username(c, "");
- } else {
- status = cli_set_username(c, username);
}
if (!NT_STATUS_IS_OK(status)) {