summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-29move most of the code for building the authorisation search into the ↵Arthur de Jong
try_autzsearch() function git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1441 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-29support more PAM status codes over the nslcd protocolArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1440 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-29set maxdays to -1 to indicate no expiry (instead of a long time)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1439 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-28put standard library imports before application imports and remove some ↵Arthur de Jong
unused imports git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1438 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-28remove duplicate and wrong write() methodArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1437 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-24make request indicator shorterArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1436 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-24document use of returned authorisation messageArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1435 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-24no longer use the userdn parameter passed along with each request (this may ↵Arthur de Jong
mean one or two more lookups when doing authentication but simplifies things) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1434 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-24improve handling of test_login_unknownArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1433 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-22report correct reported error from ldap_abandon()Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1431 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-18fix r1429 to properly handle absence of RTLD_NODELETEArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1430 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-18support systems without RTLD_NODELETEArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1429 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-16add example configuration provided by Wesley MasonArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1428 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-15provide replacement implementation for strndup() for systems that don't have itArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1427 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-15add Wesley Mason to AUTHOS file (was missing from r1425)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1426 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-15support using the objectSid attribute to provide numeric user and group ids, ↵Arthur de Jong
based on a patch by Wesley Mason git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1425 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-15allow running test_{nss,pam}cmds tests from another directoryArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1424 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-04-03make user and group name validation errors a little more informativeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1423 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-31add some people who seemed to be missing from the AUTHORS fileArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1422 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-31tv_usec in struct timeval must be lower than 1000000 (patch by SATOH Fumiyasu)Arthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1421 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-31use $(mkinstalldirs) instead of $(INSTALL_DATA) -D because -D is not ↵Arthur de Jong
supported on all operating systems (patch by SATOH Fumiyasu) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1420 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-31allow usernames of only two charactersArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1419 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-26get files ready for 0.8.2 releaseArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1417 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-26ensure that all test source files are distibuted and can tests can be run ↵Arthur de Jong
when source directory differs from build directory git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1416 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-26sync validname regular expression with nslcdArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1415 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-25no longer indefinitely wait for all worker threads to finish before exiting ↵Arthur de Jong
(but wait a few seconds on platforms with pthread_timedjoin_np()) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1414 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-25re-organise tests somewhat making things more consistentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1413 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-25integrate patch by Daniel Dehennin to not loose debconf values of previously ↵Arthur de Jong
set options with dpkg-reconfigure git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1412 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-25implement a validnames option that can be used to fine-tune the test for ↵Arthur de Jong
valid user and group names using a regular expression git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1411 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-24implement service, protocol and rpc lookupsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1410 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-24fix the case where the RDN is for some reason not in the cnArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1409 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-24fix configuration nameArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1408 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-24truncate pidfile to ensure remains of previous value is goneArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1407 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-23fix use of spacesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1406 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-23fix descriptions of filesArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1405 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-23provide a definition of daemon() for systems that lack itArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1403 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-23typo fix in commentArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1402 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-19more tests and general test improvementsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1401 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-19small code improvementsArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1400 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-19remove logging functionality that isn't usedArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1399 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-18implement test cases for some of the common PAM actions (test environment ↵Arthur de Jong
required for this) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1398 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-17put all assertion functions and compatibility code into one header fileArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1397 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-17put idle_timelimit option in Active Directory example with low enough defaultArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1396 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-16remove legacy test code that is no longer usedArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1395 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-14check for user existence before trying password changeArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1394 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-14fix a problem in the timeout paramater that was being passed to select() and ↵Arthur de Jong
could contain too many µsec (fixes Solaris runtime issue) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1393 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-13fix name of script in headerArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1392 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-12include the resolv library for hstrerror() on platforms that need it (thanks ↵Arthur de Jong
Peter Bray) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1391 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-12put all HOST_NAME_MAX fallbacks in common.h and fall back to ↵Arthur de Jong
_POSIX_HOST_NAME_MAX (thanks Peter Bray) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1390 ef36b2f9-881f-0410-afb5-c4e39611909c
2011-03-11ensure that permissions are sane in the distributed tarballArthur de Jong
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1389 ef36b2f9-881f-0410-afb5-c4e39611909c