Some cleanups:
commit162477bb086827950b6cb71afa9bef62c2753c2e
authorAndrew Bartlett <abartlet@samba.org>
Mon, 10 Feb 2003 09:16:05 +0000 (10 09:16 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 10 Feb 2003 09:16:05 +0000 (10 09:16 +0000)
treeb3b519858180ddbb79a799f7199faee9b7ed8c4b
parent85e9c060eab59c7692198f14a447ad59f05af437
Some cleanups:

- Don't use pstrcpy into an allocated string - use safe_strcpy() directly
instead.

- Keep a copy of the 'server_info' attached to the vuid.  In future use this
for things like the session key, homedir and full name instead of current
copies.

- Try to avoid memory leak/segfault on Realloc failure

- clear up #endif comments

Andrew Bartlett
source/auth/auth_ntlmssp.c
source/auth/auth_unix.c
source/auth/auth_util.c
source/auth/pass_check.c
source/include/smb.h
source/smbd/dir.c
source/smbd/password.c
source/smbd/sesssetup.c
source/smbd/statcache.c