20 Jan 11 17:53
How do I "fix" the long drive names displayed in local workstations (WinXP) "My Computer", so they agree with the data in my smb.conf file and Linux "smbclient -L" displays?Problem:
I'm running XP workstations under a SMB 3.4.0 domain server called JAM. Shares seem to be operating smoothly, but the "drive naming" under WinXP clients is different. Look at the samba shares from the server...
root@jam:~/samba# smbclient -L smb
Domain=[JAM] OS=[Unix] Server=[Samba 3.4.0]
Sharename Type Comment
--------- ---- -------
netlogon Disk Network Logon Service
app Disk app samba share
Yet the info displayed in WinXP My Computer is different:
app on 'jam server (Samba, Ubuntu) (smb)' (I:)
netlogon on 'jam server (Samba, Ubuntu) (smb)' (N:)
It looks to me like the names are getting generated by the old default "server string" variable from orig.smb.conf
server string = %h server (Samba, Ubuntu)
But in /etc/samba/smb.conf I have reset that string to
server string = "hello"
...which displays correctly under smbclient -L
Why am I getting share-names under XP derived from a "server string" syntax that's not even in my smb.conf file? I've grep'd "(Samba, Ubuntu)" and it doesn't appear in /etc/smb.conf or any samba configuration file I can find (other than un-used original versions).