summaryrefslogtreecommitdiff
path: root/source3/smbd/dir.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1996-10-25 20:18:28 +0000
committerSamba Release Account <samba-bugs@samba.org>1996-10-25 20:18:28 +0000
commit8c5c55fea5656df4fcc241c1f989674cf1b54f9e (patch)
treefc51846e3ca64bd039c59e80779eb50621c46562 /source3/smbd/dir.c
parent9bc6d7f4d638780c25f7eec8be2474537ed6dedc (diff)
downloadsamba-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/smbd/dir.c')
0 files changed, 0 insertions, 0 deletions