| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This ensures that both pynslcd and the command-line utilities work with
Python3 as interpreter and runs some tests with all installed Python
interpreters.
This drops support for Python 2.6 and extends 5a84be2 to perform more
testing with Python 3.
|
| |
|
|
|
|
| |
Closes: https://github.com/arthurdejong/nss-pam-ldapd/pull/29
|
| |
|
| |
|
|
|
|
|
|
| |
On FreeBSD these are functions while on Linux they are macros causing
them to be incorrectly replaced on FreeBSD. This resulted in a crash of
the PAM module when e.g. presenting messages about password expiry.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that when querying the address 0:18:8a:54:1a:8b both that
format and 00:18:8a:54:1a:8b is searched for in LDAP.
This was triggerred by the fact that ether_ntoa() on FreeBSD returns the
long format while glibc uses the compact format.
Since we are no longer using the libc version of ether_ntoa() we can
also drop the compatibility implementation of ether_ntoa_r().
|
| |
|
|
|
|
|
| |
This also includes the m4 directory when invoking aclocal because not
all versions seem to handle AC_CONFIG_MACRO_DIR.
|
| |
|
| |
|
| |
|
|
|
|
| |
This adds tests for a function and type used in the code.
|
|
|
|
| |
This was a compatibility leftover from the nss_ldap days.
|
|
|
|
| |
This introduces the --with-module-name configure option to allow building of NSS and
PAM modules with different namespaces than ldap.
|
| |
|
|
|
|
|
|
| |
This command can be used to perform a lookup using getgrouplist() to
present a list of returned numeric group ids. This can be used to avoid
the additional lookups that are done with the id and groups commands.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This adds a test that checks the return value of krb5_is_thread_safe()
to see if krb5 is thread safe (during build) and issues a warning if it
is not.
nslcd does not directly link to krb5 but the library may be loaded (by
GSSAPI) if Kerberos is used to authenticate nslcd to the LDAP server.
|
|
|
|
|
| |
This fixes the detection of DragonFly as requiring the freebsd NSS
interface flavour.
|
|
|
|
|
|
|
| |
This function looks for deref response controls (LDAP_CONTROL_X_DEREF)
in the entry and returns the information from the dereferenced attribute
in two lists: dereferenced values and attribute values that could not be
dereferenced.
|
|
|
|
|
|
| |
This adds a test for a bug in OpenLDAP that allocated a
LDAP_CONTROL_PAGEDRESULTS control instead of a LDAP_CONTROL_X_DEREF
control.
|
|
|
|
|
|
|
|
|
|
| |
This uses the LDAP_CONTROL_X_DEREF control as descibed in
draft-masarati-ldap-deref-00 to request the LDAP server to dereference
member attribute values to uid attribute values in order to avoid doing
extra searches.
This control is currently only added for group search by looking for the
member attribute in the search.
|
| |
|
|
|
|
|
| |
This tries to avoid child processes ending up with a copy of the pipe
file descriptor that is used to signal readiness of the daemon.
|
| |
|
|
|
|
|
|
| |
This checks whether pam_get_item() takes a const void ** or void ** item
value argument and defines a PAM_ITEM_CONST macro that is const when it
should. This avoids some compiler warnings.
|
| |
|
| |
|
|
|
|
|
| |
Apparently the macro got changed a long time ago to provide a main()
definition. This bug caused the extra warning flags to not be added.
|
|
|
|
|
| |
This provides compatibility definitions for systems that don't have
these functions (some Solaris flavours).
|
| |
|
| |
|
|
|
|
|
| |
This avoids having to have all modules installed in the build
environment. A Python version is still required during build.
|
|
|
|
|
|
| |
This removes a few legacy workarounds and fixes for older versions of
automake. This also removes adding specific DEBUG flags for tests since
subdir objects are handled differently now.
|
| |
|
|
|
|
|
|
| |
This also reworks the manual page generation check in the configure
script and avoids build errors if no tool for generating manual pages is
present when working on a Git checkout.
|
|
|
|
|
|
|
|
|
|
|
| |
This avoids problems with system clock changes (though there are some
safeguards in place to avoid waiting too long on clock changes).
Thanks to John Sullivan for pointing this out.
We can't easily use CLOCK_MONOTONIC_RAW or CLOCK_MONOTONIC_COARSE even
on platforms that define the clock because we can get runtime errors.
CLOCK_MONOTONIC seems to work on all tested platforms that provide it.
|
| |
|
|
|
|
|
|
|
|
| |
This uses the AX_PYTHON_MODULE test to check for availability of used
Python modules. All third-party modules and modules that are not a
builtin for Python 2.5 are tested.
This also splits the tests for the utils and pynslcd.
|
| |
|
|
|
|
|
| |
Since the utils are automatically built if Python is available --disable
is more appropriate a default then --enable.
|
| |
|
| |
|
| |
|
| |
|