| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
value"
This reverts commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0.
|
| |
|
|
|
|
|
| |
Jerry promised to check :-). Vl also please review.
Jeremy.
|
|
|
|
| |
Guenther
|
| |
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
for a server. We should have been doing this for a while,
but it's more critical with IPv6.
Original patch fixed up by James.
Jeremy.
|
|
|
|
|
|
| |
<anschneider@suse.de>.
Jeremy.
|
|
|
|
|
| |
Andreas Schneider <anschneider@suse.de>.
Jeremy.
|
|
|
|
|
|
| |
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
|
| |
|
|
|
|
|
| |
No more temptations to use static length strings.
Jeremy.
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
look like a nightmare to use, so ignore them for now.
Jeremy.
|
|
|
|
|
|
|
|
| |
zero_addr(&ss). All current uses were always of the
AF_INET form, so simplify the call. If in the future
we need to zero an addr to AF_INET6 this can be
done separately.
Jeremy.
|
|
|
|
|
|
| |
and into util_sock.c. is_ipaddress() now copes with link:local:v6%ifname
addresses, as does interpret_string_addr().
Jeremy
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to struct sockaddr_storage in most places that matter (ie.
not the nmbd and NetBIOS lookups). This passes make test
on an IPv4 box, but I'll have to do more work/testing on
IPv6 enabled boxes. This should now give us a framework
for testing and finishing the IPv6 migration. It's at
the state where someone with a working IPv6 setup should
(theorecically) be able to type :
smbclient //ipv6-address/share
and have it work.
Jeremy.
|
| |
|
|
|
|
|
|
|
| |
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
|
|
|
|
|
|
|
|
|
| |
We don't use gethostbyname any more except in one case where
we're looking for host aliases (I don't know how to do that
with getaddrinfo yet). New function should be getaddrinfo().
Next step will be fixing lib/access.c, and then changing
libsmb/namequery.c to cope with IPv6 address returns.
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
The translate_name() used by cli_session_setup_spnego() cann rely
Winbindd since it is needed by the join process (and hence before
Winbind can be run).
|
|
|
|
| |
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>.
|
|
|
|
|
|
| |
Also add dns query functions to find GCs and DCs by GUID.
Guenther
|
|
|
|
|
|
| |
NTSTATUS.
Guenther
|
| |
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
| |
of the various flags explicit.
|
|
|
|
|
|
|
| |
the stored client sitename with the sitename from each sucessfull CLDAP
connection.
Guenther
|
|
|
|
|
|
| |
for a PDC.
Guenther
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
string the clis_state struct. So call saf_store() after we
have the short domain name in the lsa_query_inof_policy code.
* Remove unused server string in saf_delete()
|
|
|
|
|
|
| |
in the affinity cache (which happens all the time here).
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
| |
it can't talk to it.
Jeremy.
|
|
|
|
|
| |
as a generic DC (that should be the LDAP port).
Jeremy.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
do what it's supposed to.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get_sorted_dc_list
return NTSTATUS.
If we want to differentiate different name resolution problems we might want
to introduce yet another error class for Samba-internal errors. Things like no
route to host to the WINS server, a DNS server explicitly said host not found
etc might be worth passing up.
Because we can not stash everything into the existing NT_STATUS codes, what
about a Samba-specific error class like NT_STATUS_DOS and NT_STATUS_LDAP?
Volker
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
use the generic IP list sort in get_sorted_dc_list().
|