The Samba-Bugzilla – Attachment 5523 Details for
Bug 7282
Credentials file format not backwards compatible to mount.smbfs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Parses "user" and "pass" entries of a credentials file in open_cred_file(char* file_name) function.
mount.cifs.c.patch (text/plain), 636 bytes, created by
Scott Lovenberg
on 2010-03-23 03:03:45 UTC
(
hide
)
Description:
Parses "user" and "pass" entries of a credentials file in open_cred_file(char* file_name) function.
Filename:
MIME Type:
Creator:
Scott Lovenberg
Created:
2010-03-23 03:03:45 UTC
Size:
636 bytes
patch
obsolete
>@@ -139,7 +139,7 @@ > break; > /* if whitespace - skip past it */ > } >- if (strncasecmp("username",line_buf+i,8) == 0) { >+ if (strncasecmp("username",line_buf+i,8) == 0 || strncasecmp("user",line_buf+i,4) == 0) { > temp_val = strchr(line_buf + i,'='); > if(temp_val) { > /* go past equals sign */ >@@ -163,7 +163,7 @@ > strncpy(user_name,temp_val, length); > } > } >- } else if (strncasecmp("password",line_buf+i,8) == 0) { >+ } else if (strncasecmp("password",line_buf+i,8) == 0 || strncasecmp("pass",line_buf+i,4) == 0) { > temp_val = strchr(line_buf+i,'='); > if(temp_val) { > /* go past equals sign */
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 7282
:
5523
|
5524
|
5591