Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Pass NULL to gencache_get when we are not interested in the timeout ↵ | Volker Lendecke | 2008-07-11 | 1 | -1/+2 |
| | | | | | | value" This reverts commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0. | ||||
* | Pass NULL to gencache_get when we are not interested in the timeout value | Volker Lendecke | 2008-07-03 | 1 | -2/+1 |
| | |||||
* | Return NULL in sitename_fetch() if gencache_init() fails. Not false | Gerald W. Carter | 2008-06-28 | 1 | -1/+1 |
| | |||||
* | BUG 5107: Fix handling of large DNS replies on AIX and Solaris. | Gerald W. Carter | 2008-04-30 | 1 | -6/+32 |
| | | | | | | | | On AIX, Solaris, and possibly some older glibc systems (e.g. SLES8) truncated replies never give back a resp_len > buflen which ends up causing DNS resolve failures on large tcp DNS replies. Also add more debug lines about processing the DNS reply. | ||||
* | Remove some globals | Volker Lendecke | 2007-12-05 | 1 | -1/+1 |
| | |||||
* | Add MAX_DNS_NAME_LENGTH, remove more pstrings. | Jeremy Allison | 2007-11-15 | 1 | -4/+4 |
| | | | | Jeremy. | ||||
* | Change our DNS code to cope with AAAA records. A6 records | Jeremy Allison | 2007-10-29 | 1 | -105/+189 |
| | | | | | look like a nightmare to use, so ignore them for now. Jeremy. | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 1 | -9/+9 |
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. | ||||
* | r24739: With resolve_ads() allow to query for PDCs as well. | Günther Deschner | 2007-10-10 | 1 | -28/+109 |
| | | | | | | Also add dns query functions to find GCs and DCs by GUID. Guenther | ||||
* | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | r23654: Remove misleading inline comment. | Günther Deschner | 2007-10-10 | 1 | -4/+2 |
| | | | | Guenther | ||||
* | r22714: Prevent DNS lookup storms when the DNS servers are unreachable. | Gerald Carter | 2007-10-10 | 1 | -9/+40 |
| | | | | | | | | Helps when transitioning from offline to online mode. Note that this is a quick hack and a better solution would be to start the DNS server's state between processes (similar to the namecache entries). | ||||
* | r22590: Make TALLOC_ARRAY consistent across all uses. | Jeremy Allison | 2007-10-10 | 1 | -4/+8 |
| | | | | | That should be it.... Jeremy. | ||||
* | r22589: Make TALLOC_ARRAY consistent across all uses. | Jeremy Allison | 2007-10-10 | 1 | -7/+15 |
| | | | | Jeremy. | ||||
* | r20880: Fix memory leak in new sitename code. You got *really* | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | | close Guenther, then you forgot to use "key" :-) :-). Jeremy. | ||||
* | r20874: We need to distinguish client sitenames per realm. We were overwriting | Günther Deschner | 2007-10-10 | 1 | -14/+57 |
| | | | | | | | the stored client sitename with the sitename from each sucessfull CLDAP connection. Guenther | ||||
* | r20862: When in disconnected mode there is no need to try a fallback to a site | Günther Deschner | 2007-10-10 | 1 | -0/+18 |
| | | | | | | less DNS query. This speeds up offline detection slightly. Guenther | ||||
* | r20857: Silence gives assent :-). Checking in the fix for | Jeremy Allison | 2007-10-10 | 1 | -6/+4 |
| | | | | | | | | | site support in a network where many DC's are down. I heard via Volker there is still a bug w.r.t the wrong site being chosen with trusted domains but we'll have to layer that fix on top of this. Gd - complain if this doesn't work for you. Jeremy. | ||||
* | r18466: Attempt to fix the AIX build | Volker Lendecke | 2007-10-10 | 1 | -0/+2 |
| | |||||
* | r18234: DNS failures are too common to log at level zero or 1. | Jeremy Allison | 2007-10-10 | 1 | -3/+3 |
| | | | | Jeremy. | ||||
* | r18006: Actually a smaller change than it looks. Leverage | Jeremy Allison | 2007-10-10 | 1 | -8/+37 |
| | | | | | | | | | the get_dc_list code to get the _kerberos. names for site support. This way we don't depend on one KDC to do ticket refresh. Even though we know it's up when we add it, it may go down when we're trying to refresh. Jeremy. | ||||
* | r17970: Add missing include-guards around ads.h and ads_cldap.h. | Jeremy Allison | 2007-10-10 | 1 | -9/+0 |
| | | | | | | Remove all reference to "Default-First-Site-Name" and treat it like any other site. Jeremy. | ||||
* | r17945: Store the server and client sitenames in the ADS | Jeremy Allison | 2007-10-10 | 1 | -3/+9 |
| | | | | | | struct so we can see when they match - only create the ugly krb5 hack when they do. Jeremy. | ||||
* | r17942: Jerry is right - when no site support is enabled | Jeremy Allison | 2007-10-10 | 1 | -6/+11 |
| | | | | | | the client sitename is "Default-First-Site-Name". Treat this as a blank site (no site configured). Jeremy. | ||||
* | r17929: Ok, I think I finally figured out where to put | Jeremy Allison | 2007-10-10 | 1 | -1/+20 |
| | | | | | | | the code to redo the CLDAP query to restrict DC DNS lookups to the sitename. Jerry, please check to stop me going insane :-). Jeremy. | ||||
* | r17928: Implement the basic store for CLDAP sitename | Jeremy Allison | 2007-10-10 | 1 | -5/+94 |
| | | | | | | | | | | | | | | | | support when looking up DC's. On every CLDAP call store the returned client sitename (if present, delete store if not) in gencache with infinate timeout. On AD DNS DC lookup, try looking for sitename DC's first, only try generic if sitename DNS lookup failed. I still haven't figured out yet how to ensure we fetch the sitename with a CLDAP query before doing the generic DC list lookup. This code is difficult to understand. I'll do some experiments and backtraces tomorrow to try and work out where to force a CLDAP site query first. Jeremy. | ||||
* | r17910: remove incorrect comment (code has already been fixed) | Gerald Carter | 2007-10-10 | 1 | -3/+0 |
| | |||||
* | r17795: Finally track down the "ads_connect: Interrupted system call" | Gerald Carter | 2007-10-10 | 1 | -2/+33 |
| | | | | | | | error. Fix our DNS SRV lookup code to deal with multi-homed hosts. We were noly remembering one IP address per host from the Additional records section in the SRV response which could have been an unreachable address. | ||||
* | r17242: BUG 3957: make sure to zero memory in the SRV hostlist in case there ↵ | Gerald Carter | 2007-10-10 | 1 | -1/+1 |
| | | | | is not an A record for each SRV name | ||||
* | r17239: BUG 3959: patch from William Charles <william@charles.name> to fix a ↵ | Gerald Carter | 2007-10-10 | 1 | -7/+1 |
| | | | | segv in the DNS SRV lookups dur to calling rand() | ||||
* | r17146: Starting to cleanout my local tree some | Gerald Carter | 2007-10-10 | 1 | -16/+199 |
| | | | | | * add code to lookup NS records (in prep for later coe that does DNS updates as part of the net ads join) | ||||
* | r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need | Jeremy Allison | 2007-10-10 | 1 | -0/+4 |
| | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy. | ||||
* | r15544: make sure to define NS_PACKETSZ for Bind 4 interfaces (fix build on us4) | Gerald Carter | 2007-10-10 | 1 | -1/+6 |
| | |||||
* | r15464: fix dns build breakage on IRIX and OpenBSD | Gerald Carter | 2007-10-10 | 1 | -5/+10 |
| | |||||
* | r15463: compile fix for new DNS code for machine using Bind 4 libs (old IRIX ↵ | Gerald Carter | 2007-10-10 | 1 | -0/+8 |
| | | | | host) | ||||
* | r15462: replace the use of OpenLDAP's ldap_domain2hostlist() for | Gerald Carter | 2007-10-10 | 1 | -0/+353 |
locating AD DC's with out own DNS SRV queries. Testing on Linux and Solaris. |