diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-23 00:54:55 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-23 00:54:55 +0000 |
commit | 81afba28c3fecb5471e1ff03a0b3dda5126f5aa6 (patch) | |
tree | 56d0a83fe7d4baae1373e32d45b53e340bc50a68 /source3/lib | |
parent | 0053bd8b80cc08d65948c97f8ab0b4e2b829f083 (diff) | |
download | samba-81afba28c3fecb5471e1ff03a0b3dda5126f5aa6.tar.gz samba-81afba28c3fecb5471e1ff03a0b3dda5126f5aa6.tar.bz2 samba-81afba28c3fecb5471e1ff03a0b3dda5126f5aa6.zip |
Sync up with 2.2 ACL code.
Jeremy.
(This used to be commit 5b9a88c2d0da3479f91131f66ff741e88f9760ee)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/system.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index 91f4f8a333..0c627b2f65 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -668,7 +668,6 @@ struct passwd *sys_getpwnam(const char *name) /* check for a cache hit first */ if (num_lookups && pw_cache.pass.pw_name && !strcmp(name, pw_cache.pass.pw_name)) { - DEBUG(2,("getpwnam(%s) avoided - using cached results\n",name)); return setup_pwret(&pw_cache.pass); } @@ -682,12 +681,9 @@ struct passwd *sys_getpwnam(const char *name) struct passwd *sys_getpwuid(uid_t uid) { if (num_lookups && pw_cache.pass.pw_name && (uid == pw_cache.pass.pw_uid)) { - DEBUG(2,("getpwuid(%d) avoided - using cached results\n",uid)); return setup_pwret(&pw_cache.pass); } - DEBUG(2,("getpwuid(%d) called\n",uid)); - return setup_pwret(getpwuid(uid)); } |