summaryrefslogtreecommitdiff
path: root/source3/auth/server_info_sam.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-28 13:18:13 -0400
committerAndrew Bartlett <abartlet@samba.org>2010-06-07 22:53:07 +1000
commite6456df1489ec964445dfd6f009f9f75377b3d11 (patch)
tree927178aa5b4800fb2280af1b61a2342cb700cfc4 /source3/auth/server_info_sam.c
parent61823fb8852cb8d66c341ecd54e7fb96abc4363a (diff)
downloadsamba-e6456df1489ec964445dfd6f009f9f75377b3d11.tar.gz
samba-e6456df1489ec964445dfd6f009f9f75377b3d11.tar.bz2
samba-e6456df1489ec964445dfd6f009f9f75377b3d11.zip
s3:auth handle unix domain sids in samu
When we generate a user out of thin air we may end up adding sids that are not part of the sam domain (unix domain sids). Handle the case and preserve these sids as extra sids. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/auth/server_info_sam.c')
-rw-r--r--source3/auth/server_info_sam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/server_info_sam.c b/source3/auth/server_info_sam.c
index 76f32159af..9072b6314a 100644
--- a/source3/auth/server_info_sam.c
+++ b/source3/auth/server_info_sam.c
@@ -77,8 +77,8 @@ NTSTATUS make_server_info_sam(struct auth_serversupplied_info **server_info,
return NT_STATUS_NO_SUCH_USER;
}
- status = samu_to_SamInfo3(result, sampass,
- global_myname(), &result->info3);
+ status = samu_to_SamInfo3(result, sampass, global_myname(),
+ &result->info3, &result->extra);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(result);
return status;