diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-10-25 20:18:28 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-10-25 20:18:28 +0000 |
commit | 8c5c55fea5656df4fcc241c1f989674cf1b54f9e (patch) | |
tree | fc51846e3ca64bd039c59e80779eb50621c46562 /source3/passdb | |
parent | 9bc6d7f4d638780c25f7eec8be2474537ed6dedc (diff) | |
download | samba-8c5c55fea5656df4fcc241c1f989674cf1b54f9e.tar.gz samba-8c5c55fea5656df4fcc241c1f989674cf1b54f9e.tar.bz2 samba-8c5c55fea5656df4fcc241c1f989674cf1b54f9e.zip |
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)
Diffstat (limited to 'source3/passdb')
0 files changed, 0 insertions, 0 deletions