git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
938307e
)
Same for cmd_sam_create_dom_alias.
author
Tim Potter
<tpot@samba.org>
Fri, 7 Apr 2000 02:18:04 +0000
(
02:18
+0000)
committer
Tim Potter
<tpot@samba.org>
Fri, 7 Apr 2000 02:18:04 +0000
(
02:18
+0000)
source/rpcclient/cmd_samr.c
patch
|
blob
|
history
diff --git
a/source/rpcclient/cmd_samr.c
b/source/rpcclient/cmd_samr.c
index e6e46e02df5d62cc036f518512f43cff6b126cec..28a89cc5ba8112f1845dc042fc2f6f7d62b5a946 100644
(file)
--- a/
source/rpcclient/cmd_samr.c
+++ b/
source/rpcclient/cmd_samr.c
@@
-1319,10
+1319,11
@@
void cmd_sam_create_dom_alias(struct client_info *info, int argc,
}
- if (
argc < 2
)
+ if (
(argc < 2) || (argc > 3)
)
{
report(out_hnd,
"createalias: <acct name> [acct description]\n");
+ return;
}
acct_name = argv[1];