The Samba-Bugzilla – Attachment 2064 Details for
Bug 3964
Cann't join WinXp SP2 to samba 3.0.23a PDC.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lower case username prior to gepwnam() call for smbpasswd.
look (text/plain), 869 bytes, created by
Gerald (Jerry) Carter (dead mail address)
on 2006-07-25 16:45:40 UTC
(
hide
)
Description:
lower case username prior to gepwnam() call for smbpasswd.
Filename:
MIME Type:
Creator:
Gerald (Jerry) Carter (dead mail address)
Created:
2006-07-25 16:45:40 UTC
Size:
869 bytes
patch
obsolete
>Index: passdb/pdb_smbpasswd.c >=================================================================== >--- passdb/pdb_smbpasswd.c (revision 17238) >+++ passdb/pdb_smbpasswd.c (working copy) >@@ -1192,6 +1192,7 @@ > struct samu *sam_pass, const struct smb_passwd *pw_buf) > { > struct passwd *pwfile; >+ fstring unix_username; > > if ( !sam_pass ) { > DEBUG(5,("build_sam_account: struct samu is NULL\n")); >@@ -1199,8 +1200,11 @@ > } > > /* verify the user account exists */ >+ >+ fstrcpy( unix_username, pw_buf->smb_name ); >+ strlower_m( unix_username ); > >- if ( !(pwfile = getpwnam_alloc(NULL, pw_buf->smb_name)) ) { >+ if ( !(pwfile = getpwnam_alloc(NULL, unix_username )) ) { > DEBUG(0,("build_sam_account: smbpasswd database is corrupt! username %s with uid " > "%u is not in unix passwd database!\n", pw_buf->smb_name, pw_buf->smb_userid)); > return False;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3964
: 2064