Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: bavel on April 05, 2004, 04:55:59 PM
-
I understand that the SMB configuration is as described in file /etc/smb.conf
This file is built, as far as I know, from template fragments found in /etc/e-smith/templates/etc/smb.conf
Question is: how can I find a line 'guest ok = yes' in the smb.conf file, if (in the smb.conf directory) file 11guestOk clearly states 'guest ok = no'?!
-
from the command line
[root@test1 /]# cp /etc/e-smith/templates/etc/smb.conf/11guestOk /etc/e-smith/templates-custom/etc/smb.conf/11guestOk
[root@test1 /]# cd /etc/e-smith/templates-custom/etc/smb.conf/
[root@test1 smb.conf]# pico 11guestOk
change 'guest ok = no' to 'guest ok = yes'
[CTRL]X and save your changes
[root@test1 smb.conf]# /sbin/e-smith/expand-template /etc/smb.conf
[root@test1 smb.conf]# service smb restart