Changeset 732 for branches/samba-3.5.x/source3/winbindd/winbindd_pam.c
- Timestamp:
- Nov 12, 2012, 4:35:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/source3/winbindd/winbindd_pam.c
r599 r732 1383 1383 &my_info3); 1384 1384 1385 if ((NT_STATUS_V(result) == DCERPC_FAULT_OP_RNG_ERROR) 1386 && contact_domain->can_do_samlogon_ex) { 1387 DEBUG(3, ("Got a DC that can not do NetSamLogonEx, " 1388 "retrying with NetSamLogon\n")); 1389 contact_domain->can_do_samlogon_ex = false; 1385 if (NT_STATUS_V(result) == DCERPC_FAULT_OP_RNG_ERROR) { 1386 1390 1387 /* 1391 1388 * It's likely that the server also does not support … … 1393 1390 */ 1394 1391 domain->can_do_validation6 = false; 1395 retry = true; 1396 continue; 1392 1393 if (contact_domain->can_do_samlogon_ex) { 1394 DEBUG(3, ("Got a DC that can not do NetSamLogonEx, " 1395 "retrying with NetSamLogon\n")); 1396 contact_domain->can_do_samlogon_ex = false; 1397 retry = true; 1398 continue; 1399 } 1400 1401 /* Got DCERPC_FAULT_OP_RNG_ERROR for SamLogon 1402 * (no Ex). This happens against old Samba 1403 * DCs. Drop the connection. 1404 */ 1405 invalidate_cm_connection(&contact_domain->conn); 1406 result = NT_STATUS_LOGON_FAILURE; 1407 break; 1397 1408 } 1398 1409 … … 1997 2008 &info3); 1998 2009 1999 if ((NT_STATUS_V(result) == DCERPC_FAULT_OP_RNG_ERROR) 2000 && contact_domain->can_do_samlogon_ex) { 2001 DEBUG(3, ("Got a DC that can not do NetSamLogonEx, " 2002 "retrying with NetSamLogon\n")); 2003 contact_domain->can_do_samlogon_ex = false; 2010 if (NT_STATUS_V(result) == DCERPC_FAULT_OP_RNG_ERROR) { 2011 2004 2012 /* 2005 2013 * It's likely that the server also does not support … … 2007 2015 */ 2008 2016 domain->can_do_validation6 = false; 2009 retry = true; 2010 continue; 2017 2018 if (contact_domain->can_do_samlogon_ex) { 2019 DEBUG(3, ("Got a DC that can not do NetSamLogonEx, " 2020 "retrying with NetSamLogon\n")); 2021 contact_domain->can_do_samlogon_ex = false; 2022 retry = true; 2023 continue; 2024 } 2025 2026 /* Got DCERPC_FAULT_OP_RNG_ERROR for SamLogon 2027 * (no Ex). This happens against old Samba 2028 * DCs. Drop the connection. 2029 */ 2030 invalidate_cm_connection(&contact_domain->conn); 2031 result = NT_STATUS_LOGON_FAILURE; 2032 break; 2011 2033 } 2012 2034
Note:
See TracChangeset
for help on using the changeset viewer.