Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: JoshuaR on November 19, 2009, 04:54:03 AM
-
I normally use a vbs logon script instead of a batch file. To change from the default 'netlogon.bat', is it as simple as modifying /etc/e-smith/templates/etc/smb.conf
and changeing this line from:
'logon script = netlogon.bat';
to something like:
'logon script = netlogon.vbs';
?
Thanks,
Josh
-
you should:
- create /etc/e-smith/templates-custom/etc/smb.conf directory
- copy ithere the template fragment
- edit it as you suggested
- expand /etc/smb.conf
- restart samba
this is the right way for your modification to survive to SME's packages updates
-
and to expand is just as simple as running:
expand-template /etc/e-smith/templates-custom/etc/smb.conf
?
-
and to expand is just as simple as running:
expand-template /etc/e-smith/templates-custom/etc/smb.conf
?
Not quite. You want:
expand-template /etc/smb.conf
-
Many thanks Stefano and Charlie :grin: