git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef94217
)
s3:auth set the resolved user sid in the fake sam account
author
Simo Sorce
<ssorce@redhat.com>
Fri, 28 May 2010 17:22:41 +0000
(13:22 -0400)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 7 Jun 2010 12:53:07 +0000
(22:53 +1000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source3/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index f937a9bb6084556c5981473f1b3a163c9b297787..c1b2d5599304220204fb4e3916c82e22ad5a0475 100644
(file)
--- a/
source3/auth/auth_util.c
+++ b/
source3/auth/auth_util.c
@@
-634,6
+634,9
@@
NTSTATUS make_server_info_pw(struct auth_serversupplied_info **server_info,
* using unix_username */
pdb_set_username(sampass, unix_username, PDB_SET);
+ /* set the user sid to be the calculated u_sid */
+ pdb_set_user_sid(sampass, &u_sid, PDB_SET);
+
result = make_server_info(NULL);
if (result == NULL) {
TALLOC_FREE(sampass);