On Thu, 2008-04-17 at 11:39 +0200, Christian Perrier wrote:
> Quoting Mitch ([EMAIL PROTECTED]):
> > When I run, testparm -s smb.conf, I get this;
> > 
> > myplace:/home/mitch# testparm -s smb.conf
> > Load smb config files from smb.conf
> > params.c:OpenConfFile() - Unable to open configuration file "smb.conf":
> >     No such file or directory
> > map_file: Failed to load /usr/share/samba/valid.dat - No such file or
> > directory
> > creating default valid table
> > Error loading services.
> 
> 
> testparm -s /etc/samba/smb.conf
> 
> ...
> 

myplace:/etc/samba# testparm -s /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Mitch]"
map_file: Failed to load /usr/share/samba/valid.dat - No such file or
directory
creating default valid table
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
        server string = %h server
        obey pam restrictions = Yes
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX
\spassword:* %n\n *password\supdated\ssuccessfully* .
        log level = 10
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        wins support = Yes
        panic action = /usr/share/samba/panic-action %d
        path = /home/mitch
        invalid users = root

[homes]
        comment = Home Directories
        valid users = %S
        create mask = 0700
        directory mask = 0700
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

[Mitch]
        valid users = Mitch
        read only = No





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to