Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* get files ready for 0.4 release0.4Arthur de Jong2007-10-057-10/+457
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@434 ef36b2f9-881f-0410-afb5-c4e39611909c
* ignore tarballsArthur de Jong2007-10-040-0/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@433 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove linking with libresolv because it's not needed on ↵Arthur de Jong2007-10-041-1/+4
| | | | | | Linux git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@432 ef36b2f9-881f-0410-afb5-c4e39611909c
* some reordering to make the file more logical and minor ↵Arthur de Jong2007-10-031-63/+47
| | | | | | fixes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@431 ef36b2f9-881f-0410-afb5-c4e39611909c
* pass --enable-warnings when running the distcheck targetArthur de Jong2007-10-031-0/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@430 ef36b2f9-881f-0410-afb5-c4e39611909c
* some general documentation improvementsArthur de Jong2007-10-031-26/+26
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@429 ef36b2f9-881f-0410-afb5-c4e39611909c
* add note about escaping of ldapi:// schemeArthur de Jong2007-09-281-0/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@428 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove note about escaping of ldapi:// url schemeArthur de Jong2007-09-2815-145/+21
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@427 ef36b2f9-881f-0410-afb5-c4e39611909c
* add warnings and errors to untested and unsupported ↵Arthur de Jong2007-09-281-2/+27
| | | | | | configfile options git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@426 ef36b2f9-881f-0410-afb5-c4e39611909c
* manual page improvementsArthur de Jong2007-09-251-28/+32
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@425 ef36b2f9-881f-0410-afb5-c4e39611909c
* switch to defining __thread as empty string and issue ↵Arthur de Jong2007-09-241-1/+2
| | | | | | warning if __thread keyword is not supported git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@424 ef36b2f9-881f-0410-afb5-c4e39611909c
* also initialize sa_sigaction although it's not usedArthur de Jong2007-09-241-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@423 ef36b2f9-881f-0410-afb5-c4e39611909c
* do something special for setting the uri parameter ↵Arthur de Jong2007-09-241-1/+26
| | | | | | because it may be speicified multiple times git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@422 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix newline manglingArthur de Jong2007-09-241-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@421 ef36b2f9-881f-0410-afb5-c4e39611909c
* properly handle multiple uri lines in config fileArthur de Jong2007-09-231-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@420 ef36b2f9-881f-0410-afb5-c4e39611909c
* trim preceding spaces when adding an entry in ↵Arthur de Jong2007-09-231-1/+1
| | | | | | /etc/nsswitch.conf git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@419 ef36b2f9-881f-0410-afb5-c4e39611909c
* some small improvements to the code based on some source ↵Arthur de Jong2007-09-235-5/+11
| | | | | | code checks git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@418 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove pscan target as these checks are sufficiently ↵Arthur de Jong2007-09-231-5/+1
| | | | | | covered by the other tests git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@417 ef36b2f9-881f-0410-afb5-c4e39611909c
* add compat files to sources so they end up in the tarballArthur de Jong2007-09-221-0/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@416 ef36b2f9-881f-0410-afb5-c4e39611909c
* add all objects that are now needed to test the ↵Arthur de Jong2007-09-221-1/+7
| | | | | | configuration module git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@415 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove test for alloc_lsd() because we don't use struct ↵Arthur de Jong2007-09-221-27/+0
| | | | | | ldap_service_search_descriptor any more git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@414 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove unneeded variables and slightly improve loggingArthur de Jong2007-09-211-10/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@412 ef36b2f9-881f-0410-afb5-c4e39611909c
* just use -fPIC on all files in this directoryArthur de Jong2007-09-211-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@411 ef36b2f9-881f-0410-afb5-c4e39611909c
* put config filename as a parameter to cfg_init()Arthur de Jong2007-09-193-4/+4
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@410 ef36b2f9-881f-0410-afb5-c4e39611909c
* centralize opening of connection to LDAP server in ↵Arthur de Jong2007-09-151-232/+104
| | | | | | do_open() and refactor do_bind() to be simpler (making do_rebind() just one line) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@409 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove documentation for nss_schema option since it ↵Arthur de Jong2007-09-151-13/+0
| | | | | | isn't used any more and probably never will be git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@408 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove support for nested groups and use of uniqueMember ↵Arthur de Jong2007-09-159-1047/+25
| | | | | | and member 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
* some more code cleanup, changing return type of ↵Arthur de Jong2007-09-153-310/+197
| | | | | | _nss_ldap_init(), 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
* do not pass useless errnos around because they aren't ↵Arthur de Jong2007-09-1513-105/+43
| | | | | | used anymore git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@404 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove unused includeArthur de Jong2007-09-151-1/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@403 ef36b2f9-881f-0410-afb5-c4e39611909c
* some type fixes and logic simplificationsArthur de Jong2007-09-151-54/+45
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@402 ef36b2f9-881f-0410-afb5-c4e39611909c
* minor code improvementsArthur de Jong2007-09-151-12/+14
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@401 ef36b2f9-881f-0410-afb5-c4e39611909c
* move the two remaining useful functions from util.c to ↵Arthur de Jong2007-09-1517-575/+218
| | | | | | ldap-nss.c git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@400 ef36b2f9-881f-0410-afb5-c4e39611909c
* move _nss_ldap_dn2uid() from util.c to group.cArthur de Jong2007-09-143-56/+39
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@399 ef36b2f9-881f-0410-afb5-c4e39611909c
* add note about free()ing the returned value and add loggingArthur de Jong2007-09-142-0/+5
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@398 ef36b2f9-881f-0410-afb5-c4e39611909c
* move user2dn() from group.c to passwd_username2dn() in ↵Arthur de Jong2007-09-143-23/+20
| | | | | | passwd.c git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@397 ef36b2f9-881f-0410-afb5-c4e39611909c
* do not flush streams: our caller closes the streams ↵Arthur de Jong2007-09-1410-29/+0
| | | | | | flusing them git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@396 ef36b2f9-881f-0410-afb5-c4e39611909c
* make use of write_*ent() functions consistentArthur de Jong2007-09-149-123/+164
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@395 ef36b2f9-881f-0410-afb5-c4e39611909c
* revert special casing for alias_byname() to other ↵Arthur de Jong2007-09-145-228/+28
| | | | | | functions and some logging strings simplifications git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@394 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove some more references to the old locked functionsArthur de Jong2007-09-141-7/+6
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@393 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove mutex from all LDAP operations because we now ↵Arthur de Jong2007-09-1413-195/+50
| | | | | | have a session and a connection per thread git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@392 ef36b2f9-881f-0410-afb5-c4e39611909c
* get rid of global session and instead pass the session ↵Arthur de Jong2007-09-1417-664/+558
| | | | | | as a parameter with 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
* some code cleanup and fixes to the layoutArthur de Jong2007-09-121-1191/+606
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@390 ef36b2f9-881f-0410-afb5-c4e39611909c
* change naming of search functions to clearly indicate ↵Arthur de Jong2007-09-094-12/+14
| | | | | | whether the 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
* some simplifications in the reconnect loging, removing ↵Arthur de Jong2007-09-094-270/+195
| | | | | | the undocumented nss_reconnect_maxconntries configfile option and some work to split out LDAP compatibility code to a separate file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@388 ef36b2f9-881f-0410-afb5-c4e39611909c
* move nss2nslcd() to ldap-nss.cArthur de Jong2007-09-083-23/+15
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@387 ef36b2f9-881f-0410-afb5-c4e39611909c
* rename a function and a little bit of cleanupArthur de Jong2007-09-083-25/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@386 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix endless loop bugArthur de Jong2007-09-081-6/+0
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@385 ef36b2f9-881f-0410-afb5-c4e39611909c
* move base and scope handling to database specific ↵Arthur de Jong2007-09-0818-415/+418
| | | | | | modules, gettting rid of ldap_service_search_descriptor git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@384 ef36b2f9-881f-0410-afb5-c4e39611909c
* move filters definitions to the database modules ↵Arthur de Jong2007-09-0817-364/+370
| | | | | | themselves (and already define base and scope but don't use them yet) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@383 ef36b2f9-881f-0410-afb5-c4e39611909c