git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9942b09
)
Fixed *really* stupid bug in register_vuid - only a problem
author
Samba Release Account
<samba-bugs@samba.org>
Wed, 18 Jun 1997 01:04:57 +0000
(
01:04
+0000)
committer
Samba Release Account
<samba-bugs@samba.org>
Wed, 18 Jun 1997 01:04:57 +0000
(
01:04
+0000)
on multi-user NT systems.
Jeremy (jallison@whistle.com)
(This used to be commit
6ca5c8ca3294cde56e28558bcb02c144225903d8
)
source3/smbd/password.c
patch
|
blob
|
history
diff --git
a/source3/smbd/password.c
b/source3/smbd/password.c
index 7885fd1bbc9e97b54b52651dd7faf8903cef2ee5..803418c97e3c5f0d7fc65d4992b926114cbfe3ba 100644
(file)
--- a/
source3/smbd/password.c
+++ b/
source3/smbd/password.c
@@
-157,7
+157,7
@@
uint16 register_vuid(int uid,int gid, char *name,BOOL guest)
for(i = 0; i < num_validated_users; i++) {
vuser = &validated_users[i];
if( vuser->uid == uid )
- return
i
; /* User already validated */
+ return
(uint16)(i + VUID_OFFSET)
; /* User already validated */
}
validated_users = (user_struct *)Realloc(validated_users,