Bug 4095 - NT_STATUS_NO_SUCH_USER duplicate domain\domain\user sesssetup auth_util
Summary: NT_STATUS_NO_SUCH_USER duplicate domain\domain\user sesssetup auth_util
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: nmbd (show other bugs)
Version: 3.0.23c
Hardware: All Linux
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 08:13 UTC by Manuel Baena
Modified: 2006-09-28 10:21 UTC (History)
0 users

See Also:


Attachments
Proposed patch (564 bytes, patch)
2006-09-11 16:03 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Baena 2006-09-11 08:13:44 UTC
It's been duplicated the concatenation of domain and user in

smbd/sesssetup.c
  function reply_spnego_kerberos
  line
	fstr_sprintf(user, "%s%c%s", domain, *lp_winbind_separator(), client);

auth/auth_util.c
  function fill_sam_account
  line         
            fstr_sprintf(dom_user, "%s%c%s", domain, *lp_winbind_separator(),
                lower_username);

patch (SAMBA_3_0_23 Revision 17013):

diff orig/auth_util.c new/auth_util.c
1466,1468d1465
<       fstr_sprintf(dom_user, "%s%c%s", domain, *lp_winbind_separator(),
<               lower_username);
<
Comment 1 Jeremy Allison 2006-09-11 16:03:47 UTC
Created attachment 2133 [details]
Proposed patch

Jerry - I think this is the correct fix here. Please
check.
Jeremy.
Comment 2 Jeremy Allison 2006-09-28 10:21:02 UTC
The fix has been committed and will be in the next release.
Thanks,
Jeremy.