Changeset 931 for branches/client-3.0/src
- Timestamp:
- Jul 26, 2016, 11:29:20 AM (9 years ago)
- Location:
- branches/client-3.0/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-3.0/src/ndpsmb.c
r930 r931 111 111 {ND_PROP_ULONG, 0, "EASUPPORT", "1"}, 112 112 {ND_PROP_ULONG, 0, "KRB5SUPPORT", "0"}, 113 {ND_PROP_ULONG, 0, "NTLMv1SUPPORT", "0"}, 113 114 {ND_PROP_STRING, 0, NULL, NULL} 114 115 }; … … 366 367 pRes->easupport = 1; 367 368 pRes->krb5support = 0; 369 pRes->ntlmv1support = 0; 368 370 pRes->pdc = NULL; 369 371 … … 483 485 } 484 486 } 487 t = 0; 488 rc = ph->fsphQueryUlongProperty (properties, "NTLMv1SUPPORT", &t); 489 if (!rc) 490 { 491 if (t > 1) 492 { 493 rc = ERROR_INVALID_PARAMETER; 494 } 495 else 496 { 497 pRes->ntlmv1support = t; 498 } 499 } 500 485 501 t = 0; 486 502 rc = ph->fsphQueryUlongProperty (properties, "CTO", &t); -
branches/client-3.0/src/rc/rc.dlg
r930 r931 36 36 DT_WORDBREAK 37 37 AUTOCHECKBOX "", CHK_KRB5SUPPORT, 180, 142, 10, 10, WS_GROUP 38 LTEXT "Support NTLMv1", LBL_NTLMv1SUPPORT, 195, 150, 52, 10, 39 DT_WORDBREAK 40 AUTOCHECKBOX "", CHK_NTLMv1SUPPORT, 180, 152, 10, 10, WS_GROUP 38 41 PUSHBUTTON "Cancel", DID_CANCEL, 7, 6, 56, 14 39 42 PRESPARAMS PP_FONTNAMESIZE, "9.WarpSans Bold" -
branches/client-3.0/src/rc/rc.h
r930 r931 25 25 #define LBL_KRB5SUPPORT 1028 26 26 #define CHK_KRB5SUPPORT 1029 27 #define LBL_NTLMv1SUPPORT 1030 28 #define CHK_NTLMv1SUPPORT 1031 27 29 #define LBL_CACHETIMEOUT 1014 28 30 #define SPIN_CACHETIMEOUT 1015 -
branches/client-3.0/src/rc/rc.rc_
r930 r931 49 49 " easupport - 0 to not support EA, 1 to support\r\n" 50 50 " krb5support - 0 to not support kerberos authentication, 1 to support\r\n" 51 " NTLMv1 auth support - 0 to not support NTLMv1 authentication (default), 1 to support\r\n" 51 52 "\r\n" 52 53 } … … 131 132 132 133 RCDATA (DLG_ID + 12) 134 { 135 CHK_NTLMv1SUPPORT, PARMTYPE_INT, 0L, 1L, "ntlmv1support", "%d", 0L 136 } 137 138 RCDATA (DLG_ID + 13) 139 { 133 140 1 134 141 } -
branches/client-3.0/src/smbwrp.c
r930 r931 254 254 } 255 255 256 if (pRes->ntlmv1support) { 257 lp_set_cmdline("client ntlmv2 auth","no"); 258 } 259 256 260 status = cli_connect_nb( 257 261 server, NULL, port, name_type, NULL, -
branches/client-3.0/src/smbwrp.h
r818 r931 140 140 int easupport; 141 141 int krb5support; 142 int ntlmv1support; 142 143 int cachetimeout; 143 144 int cachedepth;
Note:
See TracChangeset
for help on using the changeset viewer.