summaryrefslogtreecommitdiff
path: root/source3/lib/tldap.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-10s3: Make TLDAP_IS_ALPHA and TLDAP_IS_ADH static functionsVolker Lendecke1-5/+12
2010-03-09Fix typoSimo Sorce1-2/+2
2010-03-09s3:tldap add own filter parsingSimo Sorce1-114/+600
Also add torture test to check filter parsing.
2009-07-15s3:tldap: fix the build - a void function should not return a valueStefan Metzmacher1-3/+3
metze
2009-06-28If the connection is down, don't try another write.Volker Lendecke1-0/+17
2009-06-28tldap_msg_received: Properly free the asn1_struct in case of an errorVolker Lendecke1-0/+1
2009-06-27Move read_ldap_done after read_ldap_sendVolker Lendecke1-24/+25
2009-06-27Convert tldap to tstreamVolker Lendecke1-11/+17
2009-06-27tldap: Don't fire off more than one read_ldap request during searchesVolker Lendecke1-10/+22
2009-06-20Reorganize retrieving errors and server-sent controlsVolker Lendecke1-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.
2009-06-20Move asn1_load_nocopy() to lib/util/asn1.cVolker Lendecke1-7/+0
2009-06-20Move asn1_blob() to lib/util/asn1.cVolker Lendecke1-13/+0
2009-06-20tldap control supportVolker Lendecke1-7/+122
2009-06-20Prepare control supportVolker Lendecke1-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.
2009-06-20Fix empty linesVolker Lendecke1-3/+0
2009-06-19Add a missing talloc_move() in tldap_search_recvVolker Lendecke1-1/+1
2009-06-19Make tevent_req_is_ldap_error publicVolker Lendecke1-1/+1
2009-06-19Add tldap_context_[gs]etattrVolker Lendecke1-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.
2009-06-12Add basic tracing of tldap messagesVolker Lendecke1-0/+10
2009-06-12Add debugging facility to tldap, analogous to teventVolker Lendecke1-0/+32
2009-06-07Fix syntax of sending a delete requestVolker Lendecke1-1/+1
2009-06-06Add the early start of an async ldap libraryVolker Lendecke1-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.