[Samba] Unable to open configuration file "/etc/smb.conf"

nero one nero_oner at yahoo.com
Mon Aug 12 13:45:01 GMT 2002


Sorry about the last email - hit the enter button by accident.

I'm using Red Hat 7.0 in conjunction with samba version 2.2.5

When I try to run '#: testparm /etc/smbd.conf', i get the following output:

[root][~/install/tars]: testparm
Load smb config files from /usr/lib/smb.conf
params.c:OpenConfFile() - Unable to open configuration file "/usr/lib/smb.conf":
        Success
Error loading services.

. . . 

[root][/etc]: ls -all | grep smb
-rw-r--r--    1 root     root         9643 Aug  6 02:59 smb.conf

and the contents of smb.conf are : 

   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

[myshare]
   comment = Common Storage
   path = /home/common
   valid users = user1 user2 user3 user4
   public = yes
   writable = yes
   printable = no
   create mask = 0775
   directory mask = 0775

[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

Any ideas what's going on?  If there's a necessity for more information, please email and let me
know.  I'll be glad to put it up.


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



More information about the samba mailing list