Bug 5252 - mount.cifs misleading error
Summary: mount.cifs misleading error
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Client tools (show other bugs)
Version: 3.2.0
Hardware: x86 Linux
: P3 minor
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 10:19 UTC by Walter Franzini
Modified: 2008-02-25 02:54 UTC (History)
0 users

See Also:


Attachments
Proposed fix (1.11 KB, text/plain)
2008-02-08 10:21 UTC, Walter Franzini
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Franzini 2008-02-08 10:19:31 UTC
The mount.cifs command print a misleading message (<string> in credential file too long) when the last line of the credential file is not \n terminated.
Comment 1 Walter Franzini 2008-02-08 10:21:05 UTC
Created attachment 3133 [details]
Proposed fix

The attached patch should fix the reported problem.
Comment 2 Walter Franzini 2008-02-08 10:55:44 UTC
the bug (and the patch) is against 3.0.28 not 3.2 however the behavior should be the same.
Comment 3 Volker Lendecke 2008-02-25 02:54:52 UTC
Thanks! Pushed with slight formatting changes to 3.0 and 3.2

Volker