git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff6a168
)
ntlm_auth: don't ignore unknown options
author
Ralph Boehme
<slow@samba.org>
Fri, 10 Sep 2021 05:08:37 +0000
(07:08 +0200)
committer
Ralph Boehme
<slow@samba.org>
Fri, 10 Sep 2021 15:10:30 +0000
(15:10 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14828
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/utils/ntlm_auth.c
patch
|
blob
|
history
diff --git
a/source3/utils/ntlm_auth.c
b/source3/utils/ntlm_auth.c
index 2ac8d3cba5cbdc2c9121fbfd35da6b46bb6c0e8f..f887d6814d0d54bbda9a7f6fad79f1a593c6cf69 100644
(file)
--- a/
source3/utils/ntlm_auth.c
+++ b/
source3/utils/ntlm_auth.c
@@
-2757,6
+2757,12
@@
enum {
require_membership_of_sid = require_membership_of;
}
break;
+
+ case POPT_ERROR_BADOPT:
+ fprintf(stderr, "\nInvalid option %s: %s\n\n",
+ poptBadOption(pc, 0), poptStrerror(opt));
+ poptPrintUsage(pc, stderr, 0);
+ exit(1);
}
}