The Samba-Bugzilla – Attachment 3273 Details for
Bug 5434
mount.cifs does not use password from credentials file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 743 bytes, created by
Jeremy Allison
on 2008-05-01 10:38:22 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-05-01 10:38:22 UTC
Size:
743 bytes
patch
obsolete
>diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c >index 96ab4a8..d1b7355 100644 >--- a/source/client/mount.cifs.c >+++ b/source/client/mount.cifs.c >@@ -236,6 +236,7 @@ static int open_cred_file(char * file_name) > for(length = 0;length<MOUNT_PASSWD_SIZE+1;length++) { > if ((temp_val[length] == '\n') > || (temp_val[length] == '\0')) { >+ temp_val[length] = '\0'; > break; > } > } >@@ -264,6 +265,7 @@ static int open_cred_file(char * file_name) > for(length = 0;length<DOMAIN_SIZE+1;length++) { > if ((temp_val[length] == '\n') > || (temp_val[length] == '\0')) { >+ temp_val[length] = '\0'; > break; > } > }
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 5434
:
3272
| 3273