Fedora 9 + CIFS issue

Bill Davidsen davidsen at tmr.com
Wed May 21 19:49:48 UTC 2008


Anne Wilson wrote:
> On Tuesday 20 May 2008 11:36, nicholas Yau wrote:
>> there is a bug while calling the credential file, the credential
>> actually ended with a dot even you already remove the last newline.
>>
>> try this:
>> yum install ghex (to install)
>> su - (as root)
>>
>> ghex2 /your/path/credential-file
>>
>> you will see something at below
>>
>> username=user.password=yourpassword. <- this is the dot (0A) is the value.
>> remove the last dot you will be able to connect.
> 
> In fact I had two of those (OA).   Removed and they do mount at boot.  No 
> desktop icon, but that's a different issue.
> 
As a tool for just looking at a file, I like "od -xc" to see the ASCII 
and the hex. It shows 0a as \n which sometimes leads to seeing a problem 
sooner. The two probably indicate a blank line at the end of the file 
before you trimmed it.

-- 
Bill Davidsen <davidsen at tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot




More information about the fedora-list mailing list