Thread: samba-common
View Single Post
dchky's Avatar
Posts: 549 | Thanked: 299 times | Joined on Jun 2010 @ Australian in the Philippines
#7
Originally Posted by Chaos Defines Order View Post
Hi there, I'm having this problem with smbfs and samba-common failing to configure, meaning they also fail when trying to remove them.

While I partly understand your instructions (have opened the two files you mentioned using a text editor) I don't know what you mean by ^M, and can't see anything of the sort anywhere in either file! Is ^M some sort of "code" or designation?
Now that I read my message again I wasn't very clear. : )

The configuration files have been edited at some point in a text application that leaves ^M at the end of every line. (It's an extra carriage return that you can't ordinarily see)

Probably another way to remove them is to hit "File -> Save As" and select "ASCII" or some similar raw text format.

I use vi for pretty much all my editing so I can't really offer solutions that fall outside this particular editor.

If you google "remove ^M" there are quite a few solutions.