git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0d69a8
)
s3-rpcclient: add another usage display to sign and seal commands.
author
Günther Deschner
<gd@samba.org>
Thu, 8 Jul 2010 09:46:48 +0000
(11:46 +0200)
committer
Günther Deschner
<gd@samba.org>
Thu, 8 Jul 2010 09:46:48 +0000
(11:46 +0200)
Guenther
source3/rpcclient/rpcclient.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/rpcclient.c
b/source3/rpcclient/rpcclient.c
index 56c0057dd96a5d6a4a778577f98e7bfd007afe2e..be06882d356f070c2b4e4d6a54a2c09bb9b3f9fe 100644
(file)
--- a/
source3/rpcclient/rpcclient.c
+++ b/
source3/rpcclient/rpcclient.c
@@
-402,6
+402,7
@@
static NTSTATUS cmd_sign(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
pipe_default_auth_type = PIPE_AUTH_TYPE_SCHANNEL;
} else {
printf("unknown type %s\n", type);
+ printf("Usage: %s [NTLMSSP|NTLMSSP_SPNEGO|SCHANNEL]\n", argv[0]);
return NT_STATUS_INVALID_LEVEL;
}
}
@@
-434,6
+435,7
@@
static NTSTATUS cmd_seal(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
pipe_default_auth_type = PIPE_AUTH_TYPE_SCHANNEL;
} else {
printf("unknown type %s\n", type);
+ printf("Usage: %s [NTLMSSP|NTLMSSP_SPNEGO|SCHANNEL]\n", argv[0]);
return NT_STATUS_INVALID_LEVEL;
}
}