diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-01 05:21:19 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-01 05:21:19 +0000 |
commit | 5161c61bc7d2e3c8ee370bdedd755580445a2107 (patch) | |
tree | 7253d8ebfddb2edccb4c25ea49472916b2b2f790 /source3/lib | |
parent | 865e8a3910ebab04ec83c33280bbbbdb00e33518 (diff) | |
download | samba-5161c61bc7d2e3c8ee370bdedd755580445a2107.tar.gz samba-5161c61bc7d2e3c8ee370bdedd755580445a2107.tar.bz2 samba-5161c61bc7d2e3c8ee370bdedd755580445a2107.zip |
Fixed a couple of getpwXX calls that were not going through the sys_getpwXX
cache.
Jeremy.
(This used to be commit a648935ae93f781aedba8f89b0071a24e42f4543)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/sysacls.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |