Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3: tldap: Ensure all asn1_XX returns are checked. | Jeremy Allison | 2014-09-26 | 1 | -143/+172 |
| | | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ronnie Sahlberg <ronniesahlberg@gmail.com> | ||||
* | s3:lib/tldap: make use of tevent_req_set_cleanup_fn() | Stefan Metzmacher | 2014-01-17 | 1 | -7/+13 |
| | | | | | | | | | | This is more better than a custom tevent_req destructor. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jan 17 14:34:06 CET 2014 on sn-devel-104 | ||||
* | s3:lib/tldap: make use of tevent_req_defer_callback() | Stefan Metzmacher | 2014-01-17 | 1 | -0/+2 |
| | | | | | | | | | | In tldap_msg_received() we call tevent_req_error() for more than one request, if we do that we need to use tevent_req_defer_callback() otherwise we're likely to crash, as a triggered callback may invalidate our state. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> | ||||
* | s3-tldap: Make sure we don't deref a null pointer. | Andreas Schneider | 2013-02-22 | 1 | -0/+3 |
| | | | | Reviewed-by: Alexander Bokovoy <ab@samba.org> | ||||
* | s3:lib: make use of samba_tevent_context_init() | Stefan Metzmacher | 2013-02-19 | 1 | -5/+5 |
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | ||||
* | s3-tldap: Fix dead code in tldap_sasl_bind_send(). | Andreas Schneider | 2012-12-21 | 1 | -1/+1 |
| | | | | | | | | | dn can't be NULL cause it is set to "" in that case. Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> | ||||
* | Use tevent_req_oom | Volker Lendecke | 2011-06-20 | 1 | -2/+2 |
| | | | | This fixes a few Coverity errors | ||||
* | s3-lib Replace StrnCaseCmp() with strncasecmp_m() | Andrew Bartlett | 2011-05-18 | 1 | -1/+1 |
| | | | | | | | strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett | ||||
* | Fix many const compiler warnings. | Jeremy Allison | 2011-05-05 | 1 | -5/+5 |
| | |||||
* | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 2011-04-29 | 1 | -0/+1 |
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | ||||
* | s3-tsocket: only include ../lib/tsocket/tsocket.h where needed. | Günther Deschner | 2011-04-29 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3: Remove an unused variable | Volker Lendecke | 2011-04-16 | 1 | -3/+0 |
| | |||||
* | s3: Fix early tldap_search cancels | Volker Lendecke | 2011-03-20 | 1 | -1/+1 |
| | | | | | | | | | | | A callback of tldap_search_send might not interested in the rest of the results and could do a TALLOC_FREE of the search request. In this case, "subreq" is already free'ed. So we have to set it to pending before the callback is called. The TALLOC_FREE of the search request will set it to non-pending again via tldap_msg_destructor. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 20 11:26:57 CET 2011 on sn-devel-104 | ||||
* | s3-build: only include asn1 headers where actually needed. | Günther Deschner | 2011-03-16 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3: Change tldap_entry_attributes to the "array,count" convention | Volker Lendecke | 2011-03-14 | 1 | -2/+3 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 14 22:02:35 CET 2011 on sn-devel-104 | ||||
* | s3: Use tlap_simple_recv in tldap_sasl_bind_recv | Volker Lendecke | 2011-02-13 | 1 | -6/+3 |
| | |||||
* | s3: Add error checking to asn1_read_OctetString_talloc | Volker Lendecke | 2011-02-13 | 1 | -2/+15 |
| | |||||
* | Fix typos | Volker Lendecke | 2011-02-13 | 1 | -1/+1 |
| | |||||
* | s3: Align the args in tldap_modify | Volker Lendecke | 2011-02-10 | 1 | -3/+3 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104 | ||||
* | s3: Align tldap_add and tldap_add_send | Volker Lendecke | 2011-02-10 | 1 | -1/+1 |
| | |||||
* | s3-lib: Fixed a missing return value in tldap. | Andreas Schneider | 2011-01-26 | 1 | -0/+1 |
| | | | | s3-lib: Fixed a missing return value in tldap. | ||||
* | s3: Fix two uninitialized variables | Volker Lendecke | 2010-07-20 | 1 | -2/+2 |
| | |||||
* | tldap: Fix a type-punned warning | Volker Lendecke | 2010-06-21 | 1 | -1/+1 |
| | |||||
* | s3-tldap: only include tldap when actually needed. | Günther Deschner | 2010-05-18 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3: Make TLDAP_IS_ALPHA and TLDAP_IS_ADH static functions | Volker Lendecke | 2010-03-10 | 1 | -5/+12 |
| | |||||
* | Fix typo | Simo Sorce | 2010-03-09 | 1 | -2/+2 |
| | |||||
* | s3:tldap add own filter parsing | Simo Sorce | 2010-03-09 | 1 | -114/+600 |
| | | | | Also add torture test to check filter parsing. | ||||
* | s3:tldap: fix the build - a void function should not return a value | Stefan Metzmacher | 2009-07-15 | 1 | -3/+3 |
| | | | | metze | ||||
* | If the connection is down, don't try another write. | Volker Lendecke | 2009-06-28 | 1 | -0/+17 |
| | |||||
* | tldap_msg_received: Properly free the asn1_struct in case of an error | Volker Lendecke | 2009-06-28 | 1 | -0/+1 |
| | |||||
* | Move read_ldap_done after read_ldap_send | Volker Lendecke | 2009-06-27 | 1 | -24/+25 |
| | |||||
* | Convert tldap to tstream | Volker Lendecke | 2009-06-27 | 1 | -11/+17 |
| | |||||
* | tldap: Don't fire off more than one read_ldap request during searches | Volker Lendecke | 2009-06-27 | 1 | -10/+22 |
| | |||||
* | Reorganize retrieving errors and server-sent controls | Volker Lendecke | 2009-06-20 | 1 | -83/+66 |
| | | | | | | | This attaches the data to the tldap_message instead of the tevent_req. It adds tldap_ctx_lastmsg() to retrieve the last message for the users of the sync wrappers. | ||||
* | Move asn1_load_nocopy() to lib/util/asn1.c | Volker Lendecke | 2009-06-20 | 1 | -7/+0 |
| | |||||
* | Move asn1_blob() to lib/util/asn1.c | Volker Lendecke | 2009-06-20 | 1 | -13/+0 |
| | |||||
* | tldap control support | Volker Lendecke | 2009-06-20 | 1 | -7/+122 |
| | |||||
* | Prepare control support | Volker Lendecke | 2009-06-20 | 1 | -27/+44 |
| | | | | | | | | | We will have arrays of controls passed to tldap.c. Follow a mantra from the classic book "Thinking Forth" by Leo Brodie: Favor counts over terminators :-) This makes the parameter lists to tldap pretty long, but everyone will have wrapper routines anyway, see for example tldap_search_fmt. And the OpenLDAP manpages call the non-_ext routines deprecated, probably for a reason. | ||||
* | Fix empty lines | Volker Lendecke | 2009-06-20 | 1 | -3/+0 |
| | |||||
* | Add a missing talloc_move() in tldap_search_recv | Volker Lendecke | 2009-06-19 | 1 | -1/+1 |
| | |||||
* | Make tevent_req_is_ldap_error public | Volker Lendecke | 2009-06-19 | 1 | -1/+1 |
| | |||||
* | Add tldap_context_[gs]etattr | Volker Lendecke | 2009-06-19 | 1 | -0/+78 |
| | | | | | | | | | | This adds the ability to attach extended information to a tldap_context. This will become useful once we start to do automatic reconnects for example, a callback function might want attach a pointer to credentials so that it can rebind. The initial user of this will be a cached rootdse, so that things like the ability to do paged searches can be cached. | ||||
* | Add basic tracing of tldap messages | Volker Lendecke | 2009-06-12 | 1 | -0/+10 |
| | |||||
* | Add debugging facility to tldap, analogous to tevent | Volker Lendecke | 2009-06-12 | 1 | -0/+32 |
| | |||||
* | Fix syntax of sending a delete request | Volker Lendecke | 2009-06-07 | 1 | -1/+1 |
| | |||||
* | Add the early start of an async ldap library | Volker Lendecke | 2009-06-06 | 1 | -0/+1835 |
There's a lot of things this does not do yet: For example it does not parse the reply blob in the sasl bind, it does not do anything with controls yet, a lot of the ldap requests are not covered yet. But it provides a basis for me to play with a pdb_ads passdb module. |