Changeset 1006 for branches/client-3.0/src/ndpsmb.c
- Timestamp:
- Jan 15, 2017, 9:08:12 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-3.0/src/ndpsmb.c
r1002 r1006 112 112 {ND_PROP_ULONG, 0, "KRB5SUPPORT", "0"}, 113 113 {ND_PROP_ULONG, 0, "NTLMv1SUPPORT", "0"}, 114 {ND_PROP_ULONG, 0, "ENCRYPTIONSUPPORT", "0"}, 114 115 {ND_PROP_STRING, 0, NULL, NULL} 115 116 }; … … 368 369 pRes->krb5support = 0; 369 370 pRes->ntlmv1support = 0; 371 pRes->encryptionsupport = 0; 370 372 pRes->pdc = NULL; 371 373 … … 498 500 } 499 501 } 500 502 t = 0; 503 rc = ph->fsphQueryUlongProperty (properties, "ENCRYPTIONSUPPORT", &t); 504 if (!rc) 505 { 506 if (t > 1) 507 { 508 rc = ERROR_INVALID_PARAMETER; 509 } 510 else 511 { 512 pRes->encryptionsupport = t; 513 } 514 } 501 515 t = 0; 502 516 rc = ph->fsphQueryUlongProperty (properties, "CTO", &t);
Note:
See TracChangeset
for help on using the changeset viewer.