summaryrefslogtreecommitdiffstats
path: root/libcli/cldap/cldap.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/clap fix compiler warningsChristian Ambach2013-12-121-2/+1
| | | | | | | about set but unused variable Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* libcli/cldap: Add utility to create netlogon filterBenjamin Franzke2013-11-111-40/+50
| | | | | | | This utility is splitted of from cldap_netlogon_send. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
* libcli/cldap: make use of samba_tevent_context_init()Stefan Metzmacher2013-02-191-2/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* libcli/cldap/cldap.c - remove outdated commentMatthias Dieter Wallnöfer2011-11-101-2/+0
| | | | | | | Reviewed-by: metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 10 20:32:08 CET 2011 on sn-devel-104
* libcli/cldap: fix a crash bug in cldap_socket_recv_dgram() (bug #8593)Stefan Metzmacher2011-11-101-10/+25
| | | | | | | | | | | | After a calling any wrapper of tevent_req_notify_callback(), e.g. tevent_req_nterror(), tevent_req_done(), tevent_req_nomem(), a function has to return immediately otherwise it is very likely to crash, unless in calls tevent_req_defer_callback() before. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 10 16:31:59 CET 2011 on sn-devel-104
* libcli-cldap: avoid the case local == remote == NULLMatthieu Patou2011-10-211-1/+5
|
* libcli/cldap: make sure the local and remote address family matchesStefan Metzmacher2011-10-211-5/+25
| | | | | | metze Signed-off-by: Matthieu Patou <mat@matws.net>
* libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher2011-10-101-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
* libcli/cldap: make use of explicit tevent_contextsStefan Metzmacher2011-10-101-50/+75
| | | | metze
* libcli/cldap: pass tevent_context to cldap_search_send()Stefan Metzmacher2011-10-101-4/+7
| | | | metze
* libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher2011-10-101-3/+4
| | | | metze
* libcli/cldap: pass tevent_context to cldap_set_incoming_handler()Stefan Metzmacher2011-10-101-1/+3
| | | | metze
* Use tevent_req_oomVolker Lendecke2011-06-201-2/+2
| | | | This fixes a few Coverity errors
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-201-4/+4
| | | | | | | | | | | | The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
* libcli/cldap/cldap.c: don't hand huge values to tevent_timeval_add usecsRusty Russell2011-06-011-2/+4
| | | | | | | | state->request.delay is two million here, resulting in an invalid timeval. Since tevent doesn't have a convenient wrapper to add arbitrary usecs, do the arithmetic here (it's the sole caller of this function). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* cldap: prevent crashes when freeing cldap socketAndrew Tridgell2010-09-151-6/+15
| | | | | | | As a callback may destroy the cldap socket we need to ensure we don't reference the cldap structure after the callback Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* cldap: use ipv4 not up for unbound cldap socketsAndrew Tridgell2010-09-151-1/+5
| | | | | If we use "ip" we end up with a PF_INET6 socket which breaks sendto() for v4 addresses.
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-6/+1
|
* Replace the "ipv4" specific strings in libcli/cldap/cldap.c with "ip". CLDAP canJeremy Allison2009-06-081-2/+2
| | | | | | | | run over IPv4/IPv6, even though some of the netlogon messages are IPv4 specific. Fix the new ads_cldap_netlogon() to be IPv6/IPv4 agnostic. This compiles but I don't have a good test env. for this (although as the previous code was *completely* broken over IPv6 this will expose previously hidden bugs if it's broken :-). Jeremy.
* libcli/cldap: convert to tsocket_* function to tdgram_*Stefan Metzmacher2009-04-021-45/+38
| | | | metze
* libcli/cldap: fix memory/resource leakStefan Metzmacher2009-04-011-1/+8
| | | | | | We need to remove the message id, when a search request is finished metze
* move source4/libcli/cldap => libcli/cldapStefan Metzmacher2009-03-191-0/+1125
metze