diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-17 03:36:38 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-17 03:36:38 +0000 |
commit | af364b93d92f70aa52195c46d3cc516830752609 (patch) | |
tree | 340dec6eb2e7c11c817fb13f37b60b57c06d08b4 /docs/htmldocs/using_samba/ch04_08.html | |
parent | 7b97ac289ed472e03b2a6e9c51a568478a93562d (diff) | |
download | samba-af364b93d92f70aa52195c46d3cc516830752609.tar.gz samba-af364b93d92f70aa52195c46d3cc516830752609.tar.xz samba-af364b93d92f70aa52195c46d3cc516830752609.zip |
lib/system.c (Finally) fixed all insure errors in password caching code. We can't
stop libc routines from calling getpwXXX functions, so caching a pointer to them
is impossible. This new code now makes two copies of the returned struct passwd
struct - one used as a cache, one returned to allow the caller to modify. When
doing a lookup we compare against the cached copy. Code is now easier to understand
also.
smbd/posix_acls.c: If we move the head of the linked list, remember to pass a
reference to that pointer.....
Jeremy.
Diffstat (limited to 'docs/htmldocs/using_samba/ch04_08.html')
0 files changed, 0 insertions, 0 deletions