summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-02-09 05:16:25 +0000
committerJeremy Allison <jra@samba.org>2007-02-09 05:16:25 +0000
commit5afffc7f86e8b4fec2abd33ff557f1163077e562 (patch)
tree2bbfe3fb55f909ffbc91256d45c55f678352654c /source
parent731fd4aa0a61bb561b78e81a2716f845ff354a1a (diff)
downloadsamba-5afffc7f86e8b4fec2abd33ff557f1163077e562.tar.gz
samba-5afffc7f86e8b4fec2abd33ff557f1163077e562.tar.xz
samba-5afffc7f86e8b4fec2abd33ff557f1163077e562.zip
r21259: Fix coverity bug id #340. No way to process
logon parameter as the code was written. Jeremy.
Diffstat (limited to 'source')
-rw-r--r--source/rpcclient/cmd_netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpcclient/cmd_netlogon.c b/source/rpcclient/cmd_netlogon.c
index 329a711d46e..f199a4a0f2c 100644
--- a/source/rpcclient/cmd_netlogon.c
+++ b/source/rpcclient/cmd_netlogon.c
@@ -305,7 +305,7 @@ static NTSTATUS cmd_netlogon_sam_logon(struct rpc_pipe_client *cli,
/* Check arguments */
- if (argc < 3 || argc > 6) {
+ if (argc < 3 || argc > 7) {
fprintf(stderr, "Usage: samlogon <username> <password> [workstation]"
"[logon_type (1 or 2)] [auth level (2 or 3)] [logon_parameter]\n");
return NT_STATUS_OK;