Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Tyrone Miles on February 15, 2002, 03:30:36 PM
-
Is there a way I can change the logon script statement from netlogon.bat to
%U.bat. I know how to change it but what do I need to do to stop e-smith from changing it back if I reboot etc?
-
Hi,
You have to make a custom template. See http://www.e-smith.org/custom/
Regards,
guestHH
-
Hi,
You can make a custom template or edit this file on your SME server;
/etc/e-smith/templates/etc/smb.conf/11logonScript
Kind regards,
Rob.
-
So I should be able to copy 11logonScript over to my custom folder and from there edit it?
Do I need to reboot for the templates to take effect or can I just restart samba?
Thanks for everyone's help! :)
-
Once I make my own template does that template edit my smb.conf file? Because even after I copied the 11logonScript template over the the custom folder and changed the logon script to be %U.bat when I check the smb.conf file it still shows the logon script to be netlogon.bat?
-
Hi,
You have to expand the template by: /sbin/e-smith/expand-template /etc/smb.conf
This will fix you a new smb.conf with the parameters you entered in your custom template fragment.
Regards,
guestHH
-
Opps, thanks a lot Mr Wang, I knew there was something simple I was forgetting!