From e6456df1489ec964445dfd6f009f9f75377b3d11 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 28 May 2010 13:18:13 -0400 Subject: 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 --- source3/auth/server_info_sam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/auth/server_info_sam.c') 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; -- cgit