Koozali.org: home of the SME Server

How to change server description in network neighborhood

Arby Edi

How to change server description in network neighborhood
« 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

Arby Edi

Re: How to change server description in network neighborhood
« Reply #1 on: March 24, 2003, 08:50:12 PM »
We're using 5.1.2 by the way.

Bill Talcott

Re: How to change server description in network neighborhood
« Reply #2 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.

Jim Huneycutt

Re: How to change server description in network neighborhood
« Reply #3 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

Arby Edi

Re: How to change server description in network neighborhood
« Reply #4 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?

Jim Huneycutt

Re: How to change server description in network neighborhood
« Reply #5 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

Michael Smith

Re: How to change server description in network neighborhood
« Reply #6 on: March 25, 2003, 07:35:47 AM »
Worked fine here on a 5.1.2 server ... VERY cool!  Thanks!

Bill Talcott

Re: How to change server description in network neighborhood
« Reply #7 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".

Bill Talcott

Added to my HowTo area
« Reply #8 on: March 25, 2003, 06:33:53 PM »

Cyrus Bharda

Re: Added to my HowTo area
« Reply #9 on: March 26, 2003, 01:34:44 AM »
Thanks Bill, works Great!!!

Cyrus Bharda

Arby Edi

Re: Added to my HowTo area
« Reply #10 on: March 26, 2003, 08:24:13 AM »
Works great, you guys are awesome.

Malcolm

Re: Added to my HowTo area
« Reply #11 on: March 28, 2003, 04:41:42 PM »
Top stuff.
This has bugged me for 12 months.

Thanks.