Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/libsmb/namequery_dc.c

    r480 r745  
    77   Copyright (C) Andrew Bartlett 2002
    88   Copyright (C) Gerald Carter 2003
    9    
     9
    1010   This program is free software; you can redistribute it and/or modify
    1111   it under the terms of the GNU General Public License as published by
    1212   the Free Software Foundation; either version 3 of the License, or
    1313   (at your option) any later version.
    14    
     14
    1515   This program is distributed in the hope that it will be useful,
    1616   but WITHOUT ANY WARRANTY; without even the implied warranty of
    1717   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1818   GNU General Public License for more details.
    19    
     19
    2020   You should have received a copy of the GNU General Public License
    2121   along with this program.  If not, see <http://www.gnu.org/licenses/>.
     
    2424
    2525#include "includes.h"
     26#include "libads/sitename_cache.h"
     27#include "ads.h"
     28#include "../librpc/gen_ndr/nbt.h"
    2629
    2730/**********************************************************************
     
    4649 Find the name and IP address for a server in the realm/domain
    4750 *************************************************************************/
    48  
     51
    4952static bool ads_dc_name(const char *domain,
    5053                        const char *realm,
     
    99102                }
    100103
    101 #ifdef HAVE_KRB5
     104#ifdef HAVE_ADS
    102105                if (is_our_primary_domain(domain) && (ads->config.flags & NBT_SERVER_KDC)) {
    103106                        if (ads_closest_dc(ads)) {
     
    174177
    175178        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))
    177180                        continue;
    178181
Note: See TracChangeset for help on using the changeset viewer.