Commit graph

8 commits

Author SHA1 Message Date
asau
5d956b0af9 FreeBSD uses NetBSD-derived nsdispatch.
Cram FreeBSD support in with some force using some knowledge
picked from FreeBSD ports collection.
Not yet tested in field.
2014-06-01 19:38:10 +00:00
adam
cb72b33ad1 Changes 265:
* fix: add versioning information to binary
* fix: add AM_MAINTAINER_MODE
* fix: bad LDAP query for ether lookups
* fix: clarify bind timelimit defaults in ldap.conf
* fix: call do_close() if ldap_result() or ldap_parse_result() fails
  (before returning NSS_UNAVAIL)
* fix: FreeBSD thread library check
* fix: deallocate context in
  _nss_ldap_ent_context_release() to avoid bad usage
* fix: don't leak file descriptors in _nss_ldap_readconfig

Changes 264:
* fix: MAP_H_ERRNO() should map NSS_TRYAGAIN to NETDB_INTERNAL not TRY_AGAIN
* fix: ldaps:// URIs only work if "ssl on" is set
* fix: nss_ldap exposes malformed entries to the system

Changes 263:
* fix: nss_ldap returns success from setnetgrent() when the requested netgroup
  doesn't exist
* fix: getXXent() only returns NULL once before implicitly calling
  setXXent(), whereas other backends continue to return NULL

Changes 262:
* fix: nss_ldap fails to work on Solaris without that patch applied

Changes 261:
* fix: ldap.conf template is missing a comment in the first line
2010-10-29 13:47:11 +00:00
drochner
f95970e1fe Resize the (private) buffer for group entries dynamically if needed.
This fixes the problem reported by Petr Janda per PR port-i386/33974,
where getgr{ent,nam,gid} failed if there were many (> ~50) users
in a group.
bump PKGREVISION
2006-08-08 09:33:58 +00:00
drochner
6086428d9f restructure the getgroupmembership backend to handle merging of
information fron different sources correctly,
also sort out duplicate group IDs as the libc backends do
fixes PR pkg/32988 by Stephan Thesing
bump PKGREVISION
2006-03-15 19:23:47 +00:00
drochner
eb5f18808b on LDAP errors, restore the state of the group array 2005-09-19 15:54:42 +00:00
drochner
b43512d6ff use the "dynamic" version of nss_ldap_initgroups(), to get the
total number of groups
doesn't make much of a difference for standard systems with
NGROUPS==_SC_NGROUPS_MAX, but someone might change this
2005-08-30 16:12:02 +00:00
drochner
05e3196c41 -cleanup: honor PKG_SYSCONFDIR, use USE_PKGINSTALL
-support the "getgroupmembership" nsswitch invocation
bump PKGREVISION
2005-08-30 12:47:52 +00:00
drochner
d8fa9f77ca import nss_ldap-239, an nsswitch plugin for LDAP lookup
(passwd and group for now)
2005-08-08 09:47:42 +00:00