diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-05-28 13:22:41 -0400 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-06-07 22:53:07 +1000 |
commit | 61823fb8852cb8d66c341ecd54e7fb96abc4363a (patch) | |
tree | 71d6ae6f04dc3e132d9352551d9451a047f647b8 | |
parent | ef942172b9dfe3c30b86161445c7d6290579b6f2 (diff) | |
download | samba-61823fb8852cb8d66c341ecd54e7fb96abc4363a.tar.gz samba-61823fb8852cb8d66c341ecd54e7fb96abc4363a.tar.bz2 samba-61823fb8852cb8d66c341ecd54e7fb96abc4363a.zip |
s3:auth set the resolved user sid in the fake sam account
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source3/auth/auth_util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index f937a9bb60..c1b2d55993 100644 --- 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); |