summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-02-09 05:16:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:52 -0500
commitc635c57d75bf627ea8e51a2192290cec1b6c59e8 (patch)
treeaf981de4aa04dfe5c1275a4eeeeec25954442367 /source3
parent56b40269c8a8e9a1d2fda79ea2fa991b6575e942 (diff)
downloadsamba-c635c57d75bf627ea8e51a2192290cec1b6c59e8.tar.gz
samba-c635c57d75bf627ea8e51a2192290cec1b6c59e8.tar.bz2
samba-c635c57d75bf627ea8e51a2192290cec1b6c59e8.zip
r21259: Fix coverity bug id #340. No way to process
logon parameter as the code was written. Jeremy. (This used to be commit 7f1aee96a09d77de76b2cdbe5c2e6f27e6968b09)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c
index 5a2dd00f98..7794c80919 100644
--- a/source3/rpcclient/cmd_netlogon.c
+++ b/source3/rpcclient/cmd_netlogon.c
@@ -342,7 +342,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;