Günther Deschner
8441681819
dsgetdcname: be more paranoid about the existance of an ip_address.
...
Guenther
(This used to be commit d13fe66f3d
)
2008-05-09 14:59:19 +02:00
Günther Deschner
eaef936523
dsgetdcname: remove invalid assumption in discover_dc_dns().
...
Guenther
(This used to be commit f48b2e844b
)
2008-05-09 14:59:19 +02:00
Günther Deschner
9be17e2187
dsgetdcname: mailslot replies are identical to the cldap ones, use cldap everywhere.
...
Guenther
(This used to be commit fe904ee77a
)
2008-05-09 14:59:19 +02:00
Günther Deschner
926cc82897
dsgetdcname: wait a little longer for mailslot replies.
...
Guenther
(This used to be commit bc0d7a90dc
)
2008-05-09 14:59:18 +02:00
Günther Deschner
9d99ef899c
dsgetdcname: map additional flags to nt_version.
...
Guenther
(This used to be commit 1009123b86
)
2008-05-09 14:59:18 +02:00
Günther Deschner
0354d00ddf
dsgetdcname: use make_dc_info_from_cldap_reply() for cldap replies.
...
Guenther
(This used to be commit a3e5b073f0
)
2008-05-09 14:59:18 +02:00
Günther Deschner
81aa670343
dsgetdcname: add make_dc_info_from_cldap_reply().
...
Guenther
(This used to be commit 9db2e50a20
)
2008-05-09 14:59:18 +02:00
Günther Deschner
9b4ea32c2d
dsgetdcname: add get_cldap_reply_server_flags().
...
Guenther
(This used to be commit 3c05c56d4c
)
2008-05-09 14:59:18 +02:00
Günther Deschner
cdd9913c4a
cldap: let ads_cldap_netlogon() return all possible cldap replies.
...
Guenther
(This used to be commit 6f9d5e1cc9
)
2008-05-09 14:59:18 +02:00
Günther Deschner
64cb9461fb
dsgetdcname: add pull_mailslot_cldap_reply().
...
Guenther
(This used to be commit 95fb01d870
)
2008-05-09 14:59:18 +02:00
Günther Deschner
fcdee39988
dsgetdcname: add map_ds_flags_to_nt_version.
...
Guenther
(This used to be commit 1809ea22c3
)
2008-05-09 14:59:18 +02:00
Günther Deschner
7b5ec90b72
dsgetdcname: remove invalid assumptions when using DNS for the DC query.
...
Guenther
(This used to be commit a81818ae54
)
2008-05-07 14:09:41 +02:00
Günther Deschner
1f6065765c
mailslot/cldap: use nt_version bits in queries.
...
Guenther
(This used to be commit b261f06312
)
2008-05-06 09:41:41 +02:00
Günther Deschner
5c02872a10
dsgetdcname: use correct dc name for name cache store.
...
Guenther
(This used to be commit ce1556d0fb
)
2008-05-06 09:41:41 +02:00
Günther Deschner
051ff45c60
mailslot/dsgetdcname: do what XP does and request nt_version 11.
...
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 d8b2ff3c87
)
2008-04-24 22:01:52 +02:00
Günther Deschner
b77601a4b7
mailslot: allow to give back struct nbt_ntlogon_packet.
...
Guenther
(This used to be commit 2b178dcae6
)
2008-04-24 22:01:52 +02:00
Günther Deschner
e66d452466
mailslot: allow to define nt_version in send_getdc_request().
...
Guenther
(This used to be commit ce3728191b
)
2008-04-24 22:01:51 +02:00
Günther Deschner
de9186ecc6
dsgetdcname: Fix discover_dc_dns().
...
Guenther
(This used to be commit ec86deb349
)
2008-04-22 00:05:05 +02:00
Günther Deschner
bd3991ac97
dsgetdcname: add very basic flat name support.
...
Guenther
(This used to be commit bb72d0b71e
)
2008-04-22 00:04:25 +02:00
Günther Deschner
bcbac69d1a
cldap: avoid duplicate definitions so remove ads_cldap.h.
...
Guenther
(This used to be commit 538eefe22a
)
2008-04-21 20:21:40 +02:00
Günther Deschner
1dd7ab38e7
cldap: add talloc context to ads_cldap_netlogon().
...
Guenther
(This used to be commit 4cee7b1bd5
)
2008-04-21 20:21:40 +02:00
Günther Deschner
ba98dd4989
libads: Use libnbt for CLDAP reply parsing.
...
Guenther
(This used to be commit 751f3064a5
)
2008-04-21 20:21:39 +02:00
Günther Deschner
f466e53b64
dsgetdcname: Fix discover_dc_dns.
...
Guenther
(This used to be commit 2fe416ffa5
)
2008-04-17 00:08:24 +02:00
Günther Deschner
7f1a0a5cdf
Remove unneeded pack_dsdcinfo/unpack_dsdcinfo.
...
Guenther
(This used to be commit 34dd8f32e1
)
2008-03-28 13:37:25 +01:00
Günther Deschner
76a819c9c0
Use NDR for netr_DsRGetDCNameInfo un-/marshalling in dsgetdcname.
...
Guenther
(This used to be commit 7fa5391105
)
2008-03-28 13:36:31 +01:00
Günther Deschner
0d8985f2da
Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.
...
Guenther
(This used to be commit b1a4b21f8c
)
2008-02-28 12:40:55 +01:00
Günther Deschner
5ab43ae0d8
Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).
...
Guenther
(This used to be commit fd490d236b
)
2008-01-29 15:09:56 +01:00
Günther Deschner
c79ce2ffa3
As long as DsGetDcName is not part of libnetapi, lowercase the fn name.
...
Guenther
(This used to be commit 19a980f520
)
2008-01-11 15:32:20 +01:00
Günther Deschner
a8d200893a
Refactor our DsGetDcName call a bit (before it will move into libnetapi).
...
Guenther
(This used to be commit 41c129da3d
)
2008-01-07 23:06:12 +01:00
Volker Lendecke
78c6ee0090
Remove some globals
...
(This used to be commit 31d0a846db
)
2007-12-05 14:39:07 +01:00
Volker Lendecke
1011b32678
Remove some statics
...
(This used to be commit 1fab16ffb8
)
2007-11-27 14:18:47 +01:00
Jeremy Allison
e2d0526c97
Change our DNS code to cope with AAAA records. A6 records
...
look like a nightmare to use, so ignore them for now.
Jeremy.
(This used to be commit 814daded90
)
2007-10-29 13:34:00 -07:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
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 f35a266b3c
)
2007-10-18 17:40:25 -07:00
Jeremy Allison
8e54530b52
Add start of IPv6 implementation. Currently most of this is avoiding
...
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 3f6bd0e1ec
)
2007-10-10 18:25:16 -07:00
Günther Deschner
b79f9b0870
r24797: Fix logic in dsgetdcname().
...
Guenther
(This used to be commit aca2d78db1
)
2007-10-10 12:30:22 -05:00
Volker Lendecke
1a13b09894
r24782: Fix C++ warnings
...
(This used to be commit f7e8df81ef
)
2007-10-10 12:30:20 -05:00
Günther Deschner
4429a01c83
r24776: Remove accidentially commited flag checks.
...
Guenther
(This used to be commit 1efc5009a4
)
2007-10-10 12:30:20 -05:00
Günther Deschner
52cd23c92a
r24749: Increase debuglevel.
...
Guenther
(This used to be commit d82c1638b8
)
2007-10-10 12:30:18 -05:00
Günther Deschner
84bce05e71
r24742: Add experimental DsGetDcName() call (will be used by krb5 locator for fine
...
grained KDC DNS queries).
Guenther
(This used to be commit 3263cd680f
)
2007-10-10 12:30:16 -05:00