[Samba] Unable to open configuration file "/anywhere i specify"

Joel Hammer Joel at HammersHome.com
Mon Aug 12 15:45:01 GMT 2002


Well, I put your file into /etc/smb.conf, and testparm worked with it with
no trouble.
"Obviously", your configuration switches are not being properly interpreted.
Why don't you just accept the defaults?

Joel
On Mon, Aug 12, 2002 at 04:39:14PM -0700, nero one wrote:
> 
> --- Joel Hammer <Joel at HammersHome.com> wrote:
> > Can you open this file with vi or cat the file?
> > Does the file contain some crazy misconfiguration?
> > 
> > Joel
> 
> The content of the file again : 
> 
> [root][/etc/samba]: cat smb.conf
> [global]
> 
>    workgroup = WORKGRP
>    server string = SerVer
>    hosts allow = 10.0.0. 0.
>    load printers = yes
>    printcap name = /etc/printcap
>    printing = lprng
>    max log size = 500
>    security = user
>    socket options = TCP_NODELAY
>   interfaces = 10.0.0.0/8
>    local master = yes
>    os level = 33
>    domain master = yes
>    preferred master = yes
>    domain logons = yes
>    dns proxy = no
> 
> [homes]
>    comment = Home Directories
>    browseable = no
>    writable = yes
> 
> [printers]
>    comment = Network Printers
>    path = /var/spool/samba
>    browseable = no
>    guest ok = no
>    writable = no
>    printable = yes
> 
> [apache]
>     comment = Apache tree
>     guest account = apache
>     path = /chroot/httpd/
>     only guest = yes
>     public = yes
>     writable = yes
>     printable = no
>     create mask = 0775
>     directory mask = 0775
> 
> [clients]
>     comment = Client trees
>     guest account = apache
>     path = /home/clients
>     only guest = yes
>     public = yes
>     writable = yes
>     printable = no
>     create mask = 0775
>     directory mask = 0775
> 
> -=-=-=-
> this is an exact paste.  Nothing was ommited or anything.
> 
> Even though the file was not made in windows, I ran : 
> 
> awk -F"\r" '{print $1}' temp.blah > smb.conf to make sure that it was properly formated for a unix
> system.  Still no change.
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list