summaryrefslogtreecommitdiff
path: root/nslcd/ldap-nss.h
AgeCommit message (Collapse)Author
2007-12-09get rid of some old code and rename ldap-nss to myldap since there is no ↵Arthur de Jong
more NSS-related code in there git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@489 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-10-28replace calls to _nss_ldap_get_values() by myldap_get_values(), remove ↵Arthur de Jong
unused functions, remove struct ldap_state and replace remaining references to context to use search instead git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@470 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-10-28first step to use the new myldap interfaceArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@468 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-10-19integrate basic myldap interface (partially merged from dev-myldap branch)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@443 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-23some small improvements to the code based on some source code checksArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@418 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-15remove support for nested groups and use of uniqueMember and member ↵Arthur de Jong
attributes as well as memberOf attribute (this removes quite some functionality but helps us in refactoring because the code was one big exception to all the other modules) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@407 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-15some more code cleanup, changing return type of _nss_ldap_init(), ↵Arthur de Jong
integrating _nss_ldap_init(), do_init_session(), do_parse_async() and _nss_ldap_search_async() into the functions that call them (each was only called once) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@406 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-15do not pass useless errnos around because they aren't used anymoreArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@404 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-14move the two remaining useful functions from util.c to ldap-nss.cArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@400 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-14revert special casing for alias_byname() to other functions and some logging ↵Arthur de Jong
strings simplifications git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@394 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-14remove mutex from all LDAP operations because we now have a session and a ↵Arthur de Jong
connection per thread git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@392 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-14get rid of global session and instead pass the session as a parameter with ↵Arthur de Jong
every request and allocate a session per thread git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@391 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-09change naming of search functions to clearly indicate whether the ↵Arthur de Jong
synchronous or the asynchronous interface is used git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@389 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-08rename a function and a little bit of cleanupArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@386 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-08move base and scope handling to database specific modules, gettting rid of ↵Arthur de Jong
ldap_service_search_descriptor git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@384 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-07make handling of ent_context consistent and simplerArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@382 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-07remove struct ldap_args stuffArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@380 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-07also pass search filter for the *_all() functions from the database module ↵Arthur de Jong
instead of doing it in ldap-nss.c git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@377 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-09-07move some of the filter code to the database specific modules to be able to ↵Arthur de Jong
reduce complexity of ldap-nss.c later on git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@375 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-08-26move enum ldap_map_selector and struct ldap_service_search_descriptor from ↵Arthur de Jong
ldap-nss.h to cfg.h git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@364 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-08-03remove --enable-paged-results configure option and now always do runtime ↵Arthur de Jong
configuration, remove nss_paged_results configfile option and use pagesize option to specify usage of paging or not git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@340 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-07-28define the list of attributes to look up in searches in the service modules ↵Arthur de Jong
instead of in ldap-schema git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@337 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-07-26get rid of default and override attribute value mappings and remove host and ↵Arthur de Jong
port configuration options git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@330 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-07-26move some shadow specific functions to shadow.cArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@329 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-07-24remove some more unused codeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@327 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-07-24switch to a new interface for doing attribute mapping, splitting the ↵Arthur de Jong
attribute mapping stuff into a separate file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@326 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-06-08implement our own stdio-like library that handles IO with a simple ↵Arthur de Jong
configurable timeout mechanism with buffering git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@272 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-03-04code improvements by making type casts explicit, flagging ignored return ↵Arthur de Jong
values, renames and flagging of parameters and some miscelanious improvements (thanks to gcc warnings, splint, rats and flawfinder) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@265 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-02-10replace syslog calls to calls with our own logging moduleArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@240 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-02-01trim trailing whitespaceArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@232 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-01-17move name_list stuff to group.c as that is the only place it's used at the ↵Arthur de Jong
moment git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@222 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-01-17first step to split out all configuration stuff into separate fileArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@220 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-01-17get rid of more code that would check if the socket was changed from under ↵Arthur de Jong
us by our caller git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@219 ef36b2f9-881f-0410-afb5-c4e39611909c
2007-01-09change license from GNU Library General Public License v.2 to GNU Lesser ↵Arthur de Jong
General Public License v.2.1 with permission from Luke Howard git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@215 ef36b2f9-881f-0410-afb5-c4e39611909c
2006-12-29get rid of debug() function and call log_log() insteadArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@205 ef36b2f9-881f-0410-afb5-c4e39611909c
2006-12-25get rid of NSS_BUFSIZ, rename _nss_ldap_oc_check() to has_objectclass(), ↵Arthur de Jong
redo _nss_ldap_escape_string() with simpler logic and slightly different signature and redid layout of some code git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@203 ef36b2f9-881f-0410-afb5-c4e39611909c
2006-12-21rename server directory to nslcdArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@196 ef36b2f9-881f-0410-afb5-c4e39611909c