summaryrefslogtreecommitdiff
path: root/source3/libsmb/dsgetdcname.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-09dsgetdcname: make use of nbt_cldap_netlogon_15.Günther Deschner1-8/+91
Guenther (This used to be commit 5b0eda98f3d127399770f7a037ad3277dbe23393)
2008-05-09dsgetdcname: use existing messaging_context if possible.Günther Deschner1-6/+16
Guenther (This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
2008-05-09dsgetdcname: the forest name should never be empty.Günther Deschner1-1/+1
Guenther (This used to be commit 2c0a96f1e5fc065fdbeb5671cfa693009321dde8)
2008-05-09dsgetdcname: add map_dc_and_domain_names() for consolidating returned names.Günther Deschner1-50/+79
Guenther (This used to be commit eb7fee6e2a00326c03aa013058247e06279a4930)
2008-05-09cldap: move out cldap object to fix the build.Günther Deschner1-84/+0
Guenther (This used to be commit 56be9c98d24e64bf855439df21766d30f448f407)
2008-05-09dsgetdcname: fix gencache store for dsgetdcname().Günther Deschner1-20/+184
While storing always a type 29 reply structure in gencache, we are now able to deliver correct data according to return flags such as DS_RETURN_FLAT_NAME and DS_RETURN_DNS_NAME out of the cached data from gencache. Guenther (This used to be commit c67b6dc0ca866781043e443177d550e23b83ae36)
2008-05-09dsgetdcname: pure cosmetics.Günther Deschner1-6/+6
Guenther (This used to be commit 4b56c294e8ba045c84cab538b3d286e433d292ed)
2008-05-09dsgetdcname: simply call ourself with DS_FORCE_REDISCOVERY after cache expiry.Günther Deschner1-16/+8
Guenther (This used to be commit 847f258632f6d49a3fd45f466c5d3d8c6222ff85)
2008-05-09dsgetdcname: be more paranoid about the existance of an ip_address.Günther Deschner1-6/+36
Guenther (This used to be commit d13fe66f3d9ba152e3e8197ee6682e175163a6cd)
2008-05-09dsgetdcname: remove invalid assumption in discover_dc_dns().Günther Deschner1-5/+0
Guenther (This used to be commit f48b2e844b673e99c84cb24f3c3718352ab93ce5)
2008-05-09dsgetdcname: mailslot replies are identical to the cldap ones, use cldap ↵Günther Deschner1-60/+19
everywhere. Guenther (This used to be commit fe904ee77a7fec1674e9db660978c40c17897f77)
2008-05-09dsgetdcname: wait a little longer for mailslot replies.Günther Deschner1-2/+2
Guenther (This used to be commit bc0d7a90dcc7bf702b24feb16abf4634ff178671)
2008-05-09dsgetdcname: map additional flags to nt_version.Günther Deschner1-0/+2
Guenther (This used to be commit 1009123b8600e6ccebe180f4a2f87c217638fef8)
2008-05-09dsgetdcname: use make_dc_info_from_cldap_reply() for cldap replies.Günther Deschner1-63/+21
Guenther (This used to be commit a3e5b073f0474543ca74b40775ce1d7f80719c96)
2008-05-09dsgetdcname: add make_dc_info_from_cldap_reply().Günther Deschner1-0/+146
Guenther (This used to be commit 9db2e50a20caabaf90ce03203a066ddd7820d33a)
2008-05-09dsgetdcname: add get_cldap_reply_server_flags().Günther Deschner1-0/+32
Guenther (This used to be commit 3c05c56d4c0aac8106684cda3152c65299c63075)
2008-05-09cldap: let ads_cldap_netlogon() return all possible cldap replies.Günther Deschner1-4/+2
Guenther (This used to be commit 6f9d5e1cc94bc90685b54c04622b8f3357bd2f69)
2008-05-09dsgetdcname: add pull_mailslot_cldap_reply().Günther Deschner1-0/+84
Guenther (This used to be commit 95fb01d8702342265f8837a368dc42f4a4d394d5)
2008-05-09dsgetdcname: add map_ds_flags_to_nt_version.Günther Deschner1-0/+28
Guenther (This used to be commit 1809ea22c31ee28e109f49701f91534177027165)
2008-05-07dsgetdcname: remove invalid assumptions when using DNS for the DC query.Günther Deschner1-11/+2
Guenther (This used to be commit a81818ae54159755df441cc6421e5b272035f412)
2008-05-06mailslot/cldap: use nt_version bits in queries.Günther Deschner1-1/+4
Guenther (This used to be commit b261f063125f8454d8f4e8f6b6f8aa5bc393ea34)
2008-05-06dsgetdcname: use correct dc name for name cache store.Günther Deschner1-1/+1
Guenther (This used to be commit ce1556d0fb993b78f02ac4cc4f8a45ab7a0b5397)
2008-04-24mailslot/dsgetdcname: do what XP does and request nt_version 11.Günther Deschner1-5/+32
This allows dsgetdcname to query for a flat, non-dns domain name and come back with all information about the DC (site names, guid, forest, etc.) based on a mailslot reply. The version 11 request is downgraded to version 1 in case we do a query against NT4. Guenther (This used to be commit d8b2ff3c8769e8da9c21dec483e6edb7aa2d00f3)
2008-04-24mailslot: allow to give back struct nbt_ntlogon_packet.Günther Deschner1-1/+3
Guenther (This used to be commit 2b178dcae608ecc05f62593a7a0c2a127b8b7ca2)
2008-04-24mailslot: allow to define nt_version in send_getdc_request().Günther Deschner1-1/+2
Guenther (This used to be commit ce3728191b23badfd5eb92701e4cebf84273b61e)
2008-04-22dsgetdcname: Fix discover_dc_dns().Günther Deschner1-2/+2
Guenther (This used to be commit ec86deb349850c634b49cd5a536e9281a4a6e7d8)
2008-04-22dsgetdcname: add very basic flat name support.Günther Deschner1-9/+168
Guenther (This used to be commit bb72d0b71e2a85d50e7bd893670c3eec69717580)
2008-04-21cldap: avoid duplicate definitions so remove ads_cldap.h.Günther Deschner1-7/+7
Guenther (This used to be commit 538eefe22ad69540b9f73ffaa613d6be045de199)
2008-04-21cldap: add talloc context to ads_cldap_netlogon().Günther Deschner1-2/+2
Guenther (This used to be commit 4cee7b1bd5cd97c414b73d6f39238958480cdcf3)
2008-04-21libads: Use libnbt for CLDAP reply parsing.Günther Deschner1-18/+16
Guenther (This used to be commit 751f3064a508341c0ebae45e8de9f5311d915d70)
2008-04-17dsgetdcname: Fix discover_dc_dns.Günther Deschner1-14/+26
Guenther (This used to be commit 2fe416ffa5c7efd2e6a644e4c8bac756152881d9)
2008-03-28Remove unneeded pack_dsdcinfo/unpack_dsdcinfo.Günther Deschner1-144/+0
Guenther (This used to be commit 34dd8f32e1b7fe256ab5dfde5ef5bb8abeec121a)
2008-03-28Use NDR for netr_DsRGetDCNameInfo un-/marshalling in dsgetdcname.Günther Deschner1-16/+26
Guenther (This used to be commit 7fa53911054a39681df3f08d19aad92f60d59e28)
2008-02-28Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.Günther Deschner1-77/+67
Guenther (This used to be commit b1a4b21f8c35dc23e5c986ebe44d3806055eb39b)
2008-01-29Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).Günther Deschner1-100/+14
Guenther (This used to be commit fd490d236b1fb73a75c457b75128c9b98719418f)
2008-01-11As long as DsGetDcName is not part of libnetapi, lowercase the fn name.Günther Deschner1-38/+38
Guenther (This used to be commit 19a980f52044a170618629e5b0484c1f6b586e5f)
2008-01-07Refactor our DsGetDcName call a bit (before it will move into libnetapi).Günther Deschner1-16/+101
Guenther (This used to be commit 41c129da3d33f9fc2864d360e4b6ec5a72caf2a3)
2007-12-05Remove some globalsVolker Lendecke1-2/+1
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
2007-11-27Remove some staticsVolker Lendecke1-1/+1
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-10-29Change our DNS code to cope with AAAA records. A6 recordsJeremy Allison1-6/+8
look like a nightmare to use, so ignore them for now. Jeremy. (This used to be commit 814daded90781dc5a5bdd522ea8cfe5d47e6d7a7)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-6/+6
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison1-1/+1
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10r24797: Fix logic in dsgetdcname().Günther Deschner1-1/+1
Guenther (This used to be commit aca2d78db139ed32bcedec9861e83cb8c42809cf)
2007-10-10r24782: Fix C++ warningsVolker Lendecke1-3/+4
(This used to be commit f7e8df81ef9e1deadb1251e5e5959e90a4432f40)
2007-10-10r24776: Remove accidentially commited flag checks.Günther Deschner1-8/+0
Guenther (This used to be commit 1efc5009a4b72a5a4c600ca3af7dc7cf05f74353)
2007-10-10r24749: Increase debuglevel.Günther Deschner1-1/+1
Guenther (This used to be commit d82c1638b8ada43cfcbf9f71586c4c6849902c7e)
2007-10-10r24742: Add experimental DsGetDcName() call (will be used by krb5 locator ↵Günther Deschner1-0/+955
for fine grained KDC DNS queries). Guenther (This used to be commit 3263cd680fe429430d789b284464fca72ef45719)