[Samba] Can Windows 'Network Drive' name be changed ?

Gary Roussak Gary.Roussak at tyrrellsystems.com
Fri Nov 18 17:21:53 GMT 2005

Gary Roussak
Senior Software Developer
Tyrrell Systems Limited
T: +44 (0)870 607 5071
F: +44 (0)870 052 1995
I: www.tyrrellsystems.com
E: Gary.Roussak at tyrrellsystems.com
> >>> "Paul Gienger" <pgienger at ae-solutions.com> 18/11/2005 15:33:00

> > > >> Is there any way of configuring Samba to display 
> > something other than
> > > >> "Samba 3.0.14a-0.4-SUSE (Our_server_IP_Address)" as the 
> > Network Drive
> > > >> description, for example:
> > > > 
> > > > 
> > > > in smb.conf:
> > > > server string = text
> > > > 
> > Even after I changed the above mentioned string, the d*&m XP 
> > machines still displayed the long name. There is some sort of 
> > cacheing going on in XP that has to be cleared. Sorry I don't 
> > have it in front of me at the moment, but be aware of that 
> > Gary and Google for the instructions.
> > > 
> > ----
> > unmount /remount the drives?
> > 
> > I seem to recall some of this stuff getting stored in the
> > 
> > Craig

> Yes it does.  I can't remember exactly where it is since I've made
this sane
> on my network, but it's easy to find, especially if you have
> unique as the server string to search for.  For example, in our net
it was
> 'samba mania', so I searched for that and it was pretty easy to find.
> you have the version number, then search on that string, it's safe to
> that no where else in the registry will care what the version number
is so
> when you find one occurrence you are at the right spot.  If you can't
> it, set the string to something absurd like 'PLEASEITGUYCOMEFINDME'
> connect as a new user on that machine.

> You can safely delete the whole key area when you find it as it's
just a
> cache.  

Thanks guys. I'm still not sure yet whether this computer name string
is compiled into a Samba library or whether it is in an ASCII file that
can be modified (I'll try a grep at some stage). It would obviously be
easier to change it just the once from the server end, but at least
knowing that it is cached in Windows registry keys means that something
can be done - luckily we only have 16 users!
As Paul says, fortunately, the search string was pretty unique --
'3.0.14a-0.4-SUSE'. For the record, here are the registry keys I found:

<IP_Address> is the IP address of the Samba server
<Mount_Point> is in the format '##IP Address#Samba service name'
or at least, thats how they appear on my Windows XP....  ;-}
You may find further entries under HKEY_USERS.

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list