Koozali.org: home of the SME Server

Edit Server String

mikeda411

Edit Server String
« 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.

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
Edit Server String
« Reply #1 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”
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Offline stefan24

  • *****
  • 483
  • +0/-0
    • www.sme-server.de
Re: Edit Server String
« Reply #2 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

mikeda411

Edit Server String
« Reply #3 on: February 06, 2005, 07:29:03 PM »
Thanks Stefan24. I downloaded and installed the Advanced Workgroup Contib and it works great.