From 7bfee6767d5d38c957de95c025e95fe6c5a05433 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 17 Mar 2000 18:30:37 +0000 Subject: Restore correct UID. --- nscd/hstcache.c | 2 +- nscd/pwdcache.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nscd') diff --git a/nscd/hstcache.c b/nscd/hstcache.c index 253b76c65d..31afbdddda 100644 --- a/nscd/hstcache.c +++ b/nscd/hstcache.c @@ -315,7 +315,7 @@ addhstbyname (struct database *db, int fd, request_header *req, } if (secure[hstdb]) - seteuid (uid); + seteuid (oldeuid); cache_addhst (db, fd, req, key, hst, uid); } diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c index 2e54a773ff..32da08ee03 100644 --- a/nscd/pwdcache.c +++ b/nscd/pwdcache.c @@ -224,7 +224,7 @@ addpwbyname (struct database *db, int fd, request_header *req, } if (secure[pwddb]) - seteuid (c_uid); + seteuid (oldeuid); cache_addpw (db, fd, req, key, pwd, c_uid); } -- cgit 1.4.1