From 5161c61bc7d2e3c8ee370bdedd755580445a2107 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 1 Mar 2001 05:21:19 +0000 Subject: Fixed a couple of getpwXX calls that were not going through the sys_getpwXX cache. Jeremy. (This used to be commit a648935ae93f781aedba8f89b0071a24e42f4543) --- source3/lib/sysacls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c index 94f0a10d46..8045fc000c 100644 --- a/source3/lib/sysacls.c +++ b/source3/lib/sysacls.c @@ -442,7 +442,7 @@ char *sys_acl_to_text(SMB_ACL_T acl_d, ssize_t *len_p) break; case SMB_ACL_USER: - if ((pw = getpwuid(ap->a_id)) == NULL) { + if ((pw = sys_getpwuid(ap->a_id)) == NULL) { slprintf(idbuf, sizeof(idbuf)-1, "%ld", (long)ap->a_id); id = idbuf; @@ -979,7 +979,7 @@ char *sys_acl_to_text(SMB_ACL_T acl_d, ssize_t *len_p) break; case SMB_ACL_USER: - if ((pw = getpwuid(ap->a_id)) == NULL) { + if ((pw = sys_getpwuid(ap->a_id)) == NULL) { slprintf(idbuf, sizeof(idbuf)-1, "%ld", (long)ap->a_id); id = idbuf; -- cgit