aboutsummaryrefslogtreecommitdiff
path: root/net/nss_ldap
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-04-25 00:07:20 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-04-25 00:07:20 +0000
commit2de006395ad9ad10d668836e72e6f0e559dbf648 (patch)
tree33ab8a74e777132bd56697f8552b2ca3d7ead91b /net/nss_ldap
parent8023614f98782bcde6b81a1e8a36cbd706acb98e (diff)
downloadports-2de006395ad9ad10d668836e72e6f0e559dbf648.tar.gz
ports-2de006395ad9ad10d668836e72e6f0e559dbf648.zip
Notes
Diffstat (limited to 'net/nss_ldap')
-rw-r--r--net/nss_ldap/Makefile1
-rw-r--r--net/nss_ldap/files/bsdnss.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/net/nss_ldap/Makefile b/net/nss_ldap/Makefile
index afb962dad809..67ddba64106c 100644
--- a/net/nss_ldap/Makefile
+++ b/net/nss_ldap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nss_ldap
PORTVERSION= 1.${NSS_LDAP_VERSION}
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.padl.com/download/
DISTNAME= ${PORTNAME}-${NSS_LDAP_VERSION}
diff --git a/net/nss_ldap/files/bsdnss.c b/net/nss_ldap/files/bsdnss.c
index 598bdb7fe94f..62095ba959ee 100644
--- a/net/nss_ldap/files/bsdnss.c
+++ b/net/nss_ldap/files/bsdnss.c
@@ -46,6 +46,18 @@ static ns_mtab methods[] = {
{ NSDB_PASSWD, "endpwent", __nss_compat_setpwent, _nss_ldap_setpwent },
{ NSDB_PASSWD, "setpwent", __nss_compat_endpwent, _nss_ldap_endpwent },
+{ NSDB_GROUP_COMPAT, "getgrnam_r", __nss_compat_getgrnam_r, _nss_ldap_getgrnam_r },
+{ NSDB_GROUP_COMPAT, "getgrgid_r", __nss_compat_getgrgid_r, _nss_ldap_getgrgid_r },
+{ NSDB_GROUP_COMPAT, "getgrent_r", __nss_compat_getgrent_r, _nss_ldap_getgrent_r },
+{ NSDB_GROUP_COMPAT, "endgrent", __nss_compat_setgrent, _nss_ldap_setgrent },
+{ NSDB_GROUP_COMPAT, "setgrent", __nss_compat_endgrent, _nss_ldap_endgrent },
+
+{ NSDB_PASSWD_COMPAT, "getpwnam_r", __nss_compat_getpwnam_r, _nss_ldap_getpwnam_r },
+{ NSDB_PASSWD_COMPAT, "getpwuid_r", __nss_compat_getpwuid_r, _nss_ldap_getpwuid_r },
+{ NSDB_PASSWD_COMPAT, "getpwent_r", __nss_compat_getpwent_r, _nss_ldap_getpwent_r },
+{ NSDB_PASSWD_COMPAT, "endpwent", __nss_compat_setpwent, _nss_ldap_setpwent },
+{ NSDB_PASSWD_COMPAT, "setpwent", __nss_compat_endpwent, _nss_ldap_endpwent },
+
};