mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r19064: This code block is already #ifdef'ed by WITH_ADS which should imply
HAVE_KRB5. If WITH_ADS does not imply KRB5, we have to fix that.
Lets see what the build farm thinks about this.
Volker
(This used to be commit 27b063078d
)
This commit is contained in:
parent
71f2d744c9
commit
58b8f72af6
@ -782,7 +782,7 @@ static BOOL dcip_to_name( const char *domainname, const char *realm,
|
||||
namecache_store(name, 0x20, 1, &ip_list);
|
||||
|
||||
DEBUG(10,("dcip_to_name: flags = 0x%x\n", (unsigned int)ads->config.flags));
|
||||
#ifdef HAVE_KRB5
|
||||
|
||||
if ((ads->config.flags & ADS_KDC) && ads_sitename_match(ads)) {
|
||||
/* We're going to use this KDC for this realm/domain.
|
||||
If we are using sites, then force the krb5 libs
|
||||
@ -796,7 +796,7 @@ static BOOL dcip_to_name( const char *domainname, const char *realm,
|
||||
saf_store( domainname, name);
|
||||
saf_store( realm, name);
|
||||
}
|
||||
#endif
|
||||
|
||||
ads_destroy( &ads );
|
||||
return True;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user