summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-05-24 05:14:16 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-05-24 05:14:16 +0000
commit9c3d5d6fd0dd9e2e62a33d0822a72d5209fe3ffb (patch)
tree573cb8949102074a22f33b4c2706f7947348278e /source3/nsswitch
parent40669777a5f74617fdd80dea3ff5a45a9e9a1aa4 (diff)
downloadsamba-9c3d5d6fd0dd9e2e62a33d0822a72d5209fe3ffb.tar.gz
samba-9c3d5d6fd0dd9e2e62a33d0822a72d5209fe3ffb.tar.bz2
samba-9c3d5d6fd0dd9e2e62a33d0822a72d5209fe3ffb.zip
Remove the password length paramater from cli_full_connection - it really
didn't make any sense, and its was always just strlen(password) anyway. This fixes it to be strlen(password)+1 Andrew Bartlett (This used to be commit c205b18bd6b9b69200ff3db55f2c641631d4ab40)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index ce484795f8..907282ddb9 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/nsswitch/winbindd_cm.c
@@ -348,7 +348,7 @@ static NTSTATUS cm_open_connection(const char *domain,const char *pipe_name,
result = cli_full_connection(&(new_conn->cli), global_myname, new_conn->controller,
&dc_ip, 0, "IPC$",
"IPC", ipc_username, ipc_domain,
- ipc_password, strlen(ipc_password));
+ ipc_password);
SAFE_FREE(ipc_username);
SAFE_FREE(ipc_domain);