Changeset 740 for vendor/current/source3/libsmb/namequery_dc.c
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- File:
-
- 1 edited
-
vendor/current/source3/libsmb/namequery_dc.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/libsmb/namequery_dc.c
r478 r740 7 7 Copyright (C) Andrew Bartlett 2002 8 8 Copyright (C) Gerald Carter 2003 9 9 10 10 This program is free software; you can redistribute it and/or modify 11 11 it under the terms of the GNU General Public License as published by 12 12 the Free Software Foundation; either version 3 of the License, or 13 13 (at your option) any later version. 14 14 15 15 This program is distributed in the hope that it will be useful, 16 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 18 GNU General Public License for more details. 19 19 20 20 You should have received a copy of the GNU General Public License 21 21 along with this program. If not, see <http://www.gnu.org/licenses/>. … … 24 24 25 25 #include "includes.h" 26 27 28 26 29 27 30 /********************************************************************** … … 46 49 Find the name and IP address for a server in the realm/domain 47 50 *************************************************************************/ 48 51 49 52 static bool ads_dc_name(const char *domain, 50 53 const char *realm, … … 99 102 } 100 103 101 #ifdef HAVE_ KRB5104 #ifdef HAVE_ 102 105 if (is_our_primary_domain(domain) && (ads->config.flags & NBT_SERVER_KDC)) { 103 106 if (ads_closest_dc(ads)) { … … 174 177 175 178 for (i = 0; i < count; i++) { 176 if (is_zero_addr( (struct sockaddr *)&ip_list[i].ss))179 if (is_zero_addr(&ip_list[i].ss)) 177 180 continue; 178 181
Note:
See TracChangeset
for help on using the changeset viewer.
