Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm getting a strange error in the Samba logs when I restart the service:
[2005/02/01 22:16:26, 1] param/params.c:Parameter(368)
params.c:Parameter() - Ignoring badly formed line in configuration file: s is the main Samba configuration file. You should read the
(yes that's it, it doesn't tell me what I should read!)
My smb.conf looks like this:
[global]
workgroup = BSD
server string = blah File Server
dns proxy = no
log file = /var/log/samba/log.%m
security = user
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 50
username map = /etc/samba/user.map
max log size = 50
wins support = no
[homes]
comment = Home Directories
browseable = no
read only = no
It seems to be working OK, ie I can read and write files from the windoze clients. So does anyone know what this error means and if it's important?
Yes, I get the same error from testparm, and yes, that is my complete smb.conf.
One other thing, which may or may not be relevant - when testparm dumps the parameters on screen, it doesn't include the line about encrypted passwords. Is this normal? Or is this the "badly formed line" that it's ignoring?
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Could you post the entire smb.conf as copied and pasted from the terminal into code tags? I ask because I had similar problem, which turned out not to be a problem at all. One line of my smb.conf actually ran into the next line, "as in the return line on a printer", and the cause was the editor and font I was using.
As luck would have it, the line in my smb.conf was fine, samba worked without problems. Testparm, however, returned an error. As described above one line "ran over, so to speak". I'm thinking this may be the same case as your problem.
good luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.