diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-17 03:35:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-17 03:35:46 +0000 |
commit | 69201c85f8185ab3500df6c660b5bb8f9ff93a08 (patch) | |
tree | b492432aeaed21d8f95e7809ff261184c25960d5 /docs/htmldocs/using_samba/ch01_03.html | |
parent | 0bb001d6e36751bf7f442e485ac2d2c1d96466be (diff) | |
download | samba-69201c85f8185ab3500df6c660b5bb8f9ff93a08.tar.gz samba-69201c85f8185ab3500df6c660b5bb8f9ff93a08.tar.xz samba-69201c85f8185ab3500df6c660b5bb8f9ff93a08.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/ch01_03.html')
0 files changed, 0 insertions, 0 deletions