Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Arby Edi on March 24, 2003, 08:49:48 PM

Title: How to change server description in network neighborhood
Post by: Arby Edi on March 24, 2003, 08:49:48 PM
when my users browse the network neighborhood they see our server but with a description of "Mitel Networks SME Server".  How can I change that?

Arby
Title: Re: How to change server description in network neighborhood
Post by: Arby Edi on March 24, 2003, 08:50:12 PM
We're using 5.1.2 by the way.
Title: Re: How to change server description in network neighborhood
Post by: Bill Talcott on March 24, 2003, 08:58:01 PM
You'll see that /etc/e-smith/templates/etc/smb.conf/11serverString contains references to a "ServerString" database property. Use "/sbin/e-smith/db configuration setprop smb ServerString " to change it. You'll also need to expand the template to include the change, and restart smb. You can undo the change with "/sbin/e-smith/db configuration delprop smb ServerString" if you need to.

This is from 5.5. It should be the same or close for 5.1.2.
Title: Re: How to change server description in network neighborhood
Post by: Jim Huneycutt on March 24, 2003, 11:12:57 PM
A note for Windows XP users. If you have previously mapped a drive or created a "network place" you may need to check the following registry entry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComputerDescriptions
and delete the key for the server name in question. Otherwise the changes you make on the eSmith server may not show up on newly mapped drives - i.e. the name previously stored in the registry will be used, making you think that your change on the eSmith server did not work.

Changing the name to something more descriptive is easier on the users and helps me keep better track of multiple e-Smith servers.

Cheers,
jim
Title: Re: How to change server description in network neighborhood
Post by: Arby Edi on March 25, 2003, 06:03:49 AM
Thank you and sorry but I'm not very advanced in the system, would it be possible to help me with more detail such as the expanding and restarting smb?
Title: Re: How to change server description in network neighborhood
Post by: Jim Huneycutt on March 25, 2003, 06:17:23 AM
Arby, try the following commands after logging in as root, replacing "my server" with your server string.
[
/sbin/e-smith/db configuration setprop smb ServerString "My Server"
/sbin/e-smith/expand-template /etc/smb.conf
service smb restart

Good luck,
jim
Title: Re: How to change server description in network neighborhood
Post by: Michael Smith on March 25, 2003, 07:35:47 AM
Worked fine here on a 5.1.2 server ... VERY cool!  Thanks!
Title: Re: How to change server description in network neighborhood
Post by: Bill Talcott on March 25, 2003, 06:09:55 PM
Arby Edi wrote:
>
> Thank you and sorry but I'm not very advanced in the system,
> would it be possible to help me with more detail such as the
> expanding and restarting smb?

http://www.e-smith.org/custom/ describes how to use the template system. Most services can be restarted using "service restart".
Title: Added to my HowTo area
Post by: Bill Talcott on March 25, 2003, 06:33:53 PM
It's up at http://mirror.contribs.org/smeserver/contribs/btalcott/ now also.
Title: Re: Added to my HowTo area
Post by: Cyrus Bharda on March 26, 2003, 01:34:44 AM
Thanks Bill, works Great!!!

Cyrus Bharda
Title: Re: Added to my HowTo area
Post by: Arby Edi on March 26, 2003, 08:24:13 AM
Works great, you guys are awesome.
Title: Re: Added to my HowTo area
Post by: Malcolm on March 28, 2003, 04:41:42 PM
Top stuff.
This has bugged me for 12 months.

Thanks.