summaryrefslogtreecommitdiffstats
path: root/source/lib/sysacls.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-01 05:21:19 +0000
committerJeremy Allison <jra@samba.org>2001-03-01 05:21:19 +0000
commita648935ae93f781aedba8f89b0071a24e42f4543 (patch)
treed3fd7bddb8d7641ef230b6ac75d97fa811c544d0 /source/lib/sysacls.c
parent94b72c19fe435d31e14e69a3fc9808e75638726a (diff)
downloadsamba-a648935ae93f781aedba8f89b0071a24e42f4543.tar.gz
samba-a648935ae93f781aedba8f89b0071a24e42f4543.tar.xz
samba-a648935ae93f781aedba8f89b0071a24e42f4543.zip
Fixed a couple of getpwXX calls that were not going through the sys_getpwXX
cache. Jeremy.
Diffstat (limited to 'source/lib/sysacls.c')
-rw-r--r--source/lib/sysacls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/sysacls.c b/source/lib/sysacls.c
index 94f0a10d468..8045fc000cd 100644
--- a/source/lib/sysacls.c
+++ b/source/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;