Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/group.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2008-02-01 20:59:28 +0100
committerArthur de Jong <arthur@arthurdejong.org>2008-02-01 20:59:28 +0100
commitca917ca5e75335ea476120b57305b3d3395064d6 (patch)
treeaa7f9991ebd8bc6a0dd038408cfaa4b0b23e0daa /nss/group.c
parentee574758629ca78ccb4589763be2b10ab032fd18 (diff)
remove the nslcd2nss() function because it's not needed with the current protocol
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@597 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nss/group.c')
-rw-r--r--nss/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/group.c b/nss/group.c
index abb16e5..3ab875d 100644
--- a/nss/group.c
+++ b/nss/group.c
@@ -76,7 +76,7 @@ static enum nss_status read_gids(
READ_TYPE(fp,res,int32_t);
}
/* return the proper status code */
- return (res==(int32_t)NSLCD_RESULT_END)?NSS_STATUS_SUCCESS:nslcd2nss(res);
+ return (res==(int32_t)NSLCD_RESULT_END)?NSS_STATUS_SUCCESS:NSS_STATUS_NOTFOUND;
}
enum nss_status _nss_ldap_getgrnam_r(const char *name,struct group *result,char *buffer,size_t buflen,int *errnop)