git.samba.org
/
libsmb2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dcerpc: make it possible to select ndr transfer syntax from url for testing
[libsmb2.git]
/
lib
/
init.c
diff --git
a/lib/init.c
b/lib/init.c
index 5fc49a3b307faf933077c1c5d1d4202650f9ace6..ef4cb13025534fd6a2e9aa665f1a3b96c00f1e7d 100644
(file)
--- a/
lib/init.c
+++ b/
lib/init.c
@@
-93,6
+93,10
@@
smb2_parse_args(struct smb2_context *smb2, const char *args)
if (!strcmp(args, "seal")) {
smb2->seal = 1;
+ } else if (!strcmp(args, "ndr32")) {
+ smb2->ndr = 1;
+ } else if (!strcmp(args, "ndr64")) {
+ smb2->ndr = 2;
} else if (!strcmp(args, "sec")) {
if(!strcmp(value, "krb5")) {
smb2->sec = SMB2_SEC_KRB5;