View Single Post

   
  #9 (permalink)  
Old 02-19-2008, 03:15 PM
/dev/rob0
 
Posts: n/a
Default Re: cups & windows printing

On Sun, 05 Sep 2004 14:58:26 +0100, Les Orton wrote:
[testparm]
> Load smb config files from /etc/samba/smb.conf
> Unknown parameter encountered: "***workgroup*"
> Ignoring unknown parameter "***workgroup*"
> Unknown parameter encountered: "***server*string*"


These are common settings. If testparm thinks they're unknown you must
have a syntax error. My guess is that you're missing the "[global]"
section header at the top.

> params.c:Parameter() - Ignoring badly formed line in configuration
> file: ***#*Shouldn't*need*this*to*print*and*was*added*af ter*printer*worked.


Another possibility: you've used a Windows editor on the file.
cd /etc/samba && mv smb.conf DOS && fromdos < DOS > smb.conf

> Processing section "[var]"
> [snip]
> Unknown parameter encountered: "***create*mode*"
> Ignoring unknown parameter "***create*mode*"
> Unknown parameter encountered: "***directory*mode*"
> Ignoring unknown parameter "***directory*mode*"


You wanted to share your /var using Samba? Windows users (and normal
Unix users) do not need to be writing files outside $HOME and /tmp. (I
often set up common areas other than /tmp for sharing.)

> Press enter to see a dump of your service definitions


Not much, eh? Clearly a badly mangled smb.conf. Take it out and put it
out of its misery. Then start over with a Unix editor.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply

Reply With Quote