Core of the changes for returning smb_uid's. smb_uid's are now
authorSamba Release Account <samba-bugs@samba.org>
Fri, 25 Oct 1996 20:18:28 +0000 (20:18 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Fri, 25 Oct 1996 20:18:28 +0000 (20:18 +0000)
commit8c5c55fea5656df4fcc241c1f989674cf1b54f9e
treefc51846e3ca64bd039c59e80779eb50621c46562
parent9bc6d7f4d638780c25f7eec8be2474537ed6dedc
Core of the changes for returning smb_uid's. smb_uid's are now
returned as an index plus offset into the valudated_users table.
The offset (100) is added so that an smb_uid of zero becomes
an invalid value. All access into the validated_users table are
done by removing the offset and indexing into the table. Out of
ranges return NULL. Causes accesses into the validated_users table
to be more consistant and controlled.

This change made due to the fact that the uid field is only 16
bits in the smb header and we need for this not to be a unix
user id (which can ge 32 bits).

jra@cygnus.com
(This used to be commit ac265eff85a043e139b259e400fbbc444a94c97c)
source3/smbd/password.c