Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: mikeda411 on February 05, 2005, 06:28:46 AM

Title: Edit Server String
Post by: mikeda411 on February 05, 2005, 06:28:46 AM
I am a new user to sme. What I would like to do is edit the server string. I tried to edit /etc/samba/smb.conf but I notice a warning message that states DON'T MODIFY THIS FILE!. Can some one help me?

I am not familiar with the file structure of SME and i'm not sure which smb.conf file I can edit.
Title: Edit Server String
Post by: Denbert on February 05, 2005, 10:12:37 AM
See http://no.longer.valid/phpwiki/index.php/Customizing for explanation.

First you should make a directory where you edit your custom templates:

mkdir -p /etc/e-smith/templates-custom/etc/smb.conf

Then you copy the 11ServerString file as it’s server string you want to change:

cp /etc/e-smith/templates/etc/smb.conf/11ServerString /etc/e-smith/templates-custom/etc/smb.conf

Edit the /etc/e-smith/templates/etc/smb.conf/11ServerString

to what you prefer, mine is called Linux-SME-Server

Then Expand the template with this command:

/sbin/e-smith/expand-template /etc/smb.conf

Restart samba with:

/etc/rc.d/init.d/smb restart

And see the change on your windows PC in “My Network Places”
Title: Re: Edit Server String
Post by: stefan24 on February 05, 2005, 01:45:01 PM
Quote from: "mikeda411"
I am a new user to sme. What I would like to do is edit the server string.


Install the Advanced Workgroup Contrib and change it there:

http://mirror.contribs.org/smeserver/contribs/jprice/beta/e-smith-advworkgroup/e-smith-advworkgroup-0.3-4.noarch.rpm
Title: Edit Server String
Post by: mikeda411 on February 06, 2005, 07:29:03 PM
Thanks Stefan24. I downloaded and installed the Advanced Workgroup Contib and it works great.