Age | Commit message (Collapse) | Author | Files | Lines |
|
Move struct tevent_req in tevent_internal, and ad getters and setters
for private data and the callback function.
This patch also renames 'private_state' into 'data'. What is held in this
pointer is in fact data and not a state like enum tevent_req_state.
Calling it 'state' is confusing.
The functions addedd are:
tevent_req_set_callback() - sets req->async.fn and req->async.private_data
tevent_req_set_print_fn() - sets req->private_print
tevent_req_callback_data() - gets req->async.private_data
tevent_req_data() - gets rea->data
This way it is much simpler to keep API/ABI compatibility in the future.
|
|
|
|
|
|
|
|
Fallback on EAGAIN
|
|
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would
be pointless to convert to errno first and to wbcErr later.
|
|
Now I need to document this :-)
|
|
|
|
This streamlines setting up a multi-step async request a bit
|
|
compilers
can't kill us later.
Jeremy.
|
|
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also eliminates name conflicts with OneFS system libraries
|
|
|
|
|
|
otherwise (to clarify we can also pass in structs smaller than
sockaddr_storage, such as sockaddr_in).
|
|
null byte and use it in Samba 3.
This matches the behaviour prior to my data_blob changes.
|
|
This is a fix for a few small inefficiencies/bugs in the get_dcs() path.
* because the third add_one_dc_unique() loop was outside the ADS check all DCs
returned from the non-sitename lookup were being tacked onto the dc_name_ip
list twice.
* add_one_dc_unique() now checks if the given IP address already exists before
adding it to the list, making the returned list actually unique
* added more thorough doxygen comment headers
(This used to be commit cb2d488e1dbd90953c496c5e25d648977884f7e3)
|
|
This fixes various build warnings on our platform. I'm sure I haven't
caught them all, but it's a start.
(This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)
|
|
Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage
so that assignments look like they're going to the same place.
(This used to be commit 3d19112f645fb0f4bb6b644207ed2cee0b6b3ea9)
|
|
can result in a buffer overrun.
Jeremy.
(This used to be commit 23b825e9d2c74c5b940cf4d3aa56c18692259972)
|
|
on Solaris when we do this on an already resetted connection.
(This used to be commit 42bc4ff7fd6bfc92bde015ae8f3a9fb62d443cd5)
|
|
36f8bafbd3dee66a8....
Make sure that IPv4 addresses are not enclised in []'s.
(This used to be commit 4ddf58dbdc3d74cb72788ef4a2ec7587d4948c40)
|
|
Linux man page states that getaddinfo() will leave the port
uninitialized when passing in NULL for the service name. So we
can't really trust that anymore. I doubt non-default KDC ports
are an issues so just drop the port from the generated krb5.conf.
AIX exhibits this bug the most.
(This used to be commit 36f8bafbd3dee66a869aa26cfc2eb4aa62019325)
|
|
Jeremy, please push it if you like it and mark the bug as fixed on the Coverity
site.
Thanks,
Volker
(This used to be commit 2fd25423700cb60f20a8b8d6613279cb06fb518d)
|
|
Michael
(This used to be commit ee4810099c2d26a0ebab3c41a95bc6b57921683d)
|
|
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
(This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)
|
|
(This used to be commit f7d2f692994918037e603ef95dd097b03d2c5456)
|
|
(This used to be commit 24aa3518aef7e36fde03d58f36487cbf29c027c9)
|
|
(This used to be commit af40b71023f8c4a2133d996ea698c72b97624043)
|
|
(This used to be commit ba771bd858602452a9e58c3aab1336f2ac8a25ef)
|
|
(This used to be commit 90554799afa42855c3e7b87dc632e67f0952f988)
|
|
(This used to be commit f9c8ac83ff42137d2101d3bb17e5dcc3c3d70a8f)
|
|
(This used to be commit 5750c3a51b4ddac635a98195d1621b24f91bad3f)
|
|
(This used to be commit 73a79a957a33a8761acf54598ce71e3604ecf3c5)
|
|
(This used to be commit 59e8f22f36be5a70fdb101964570ce7c10e8ff65)
|
|
(This used to be commit 546ca0414aa1a9389e620b8f532224a3a19256d4)
|
|
(This used to be commit 1efdef08ae19a01b03bf6730df1fb4a9a4a8aba0)
|
|
(This used to be commit e78f6872bfc19ce0476b8d79c856a8d9c646a913)
|
|
(This used to be commit f591bd68eafdbaefcaa95510cc4cb9a74cef0562)
|
|
(This used to be commit f1d7de462cf0f64648a3a1fc6f0c64a7bbdb3c2a)
|
|
(This used to be commit 7101026061c470ed962267b43ac0aa67cc761a64)
|
|
Fix a bug in my bugfix. Thanks to vl for spotting that one.
(This used to be commit 24f68b90cca111256a7b03f7062cb57c2b08a0d6)
|
|
get_mydnsfullname relied on memcache_add(); memcache_lookup() working.
When run from ntlm_auth, the global_cache variable in memcache is NULL, so
the add and lookup both fail. In that case, just return the result of the
getaddrinfo call.
Jeremy, please check.
(This used to be commit 1db41ff52565e9f336a22fb9ffd80d51677e023b)
|