LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [Samba] server string (https://www.linuxquestions.org/questions/linux-software-2/%5Bsamba%5D-server-string-487022/)

Wim Sturkenboom 09-26-2006 02:39 AM

[Samba] server string
 
Played a bit with samba on a Slackware 10.2 box. I can map the share as a network drive in WinXP, but the description in the windows explorer is not what I expect.

It says wim on Samba 3.0.2 [172.18.32.1] (or whatever the version number is with a standard Slack10.2 install). This is the default setting (according to man smb.conf). I however expect it to show the name that I specified in the 'server string'.
The correct 'server string' however shows up in the security properties in WinXP.

I've restarted samba, rebooted the machine, rebooted XP and it did not help.

Do I misunderstand the function of 'server string' or is there something else (maybe WinXP behavior).

Mounting under linux does not work (yet) so I can't tell you what will be displayed there (if anything).

odcheck 09-26-2006 03:05 AM

host name of your slackware + server string = samba server name
and mount from slag to win try
Code:

mount -t cifs //ipaddress/share /mnt/dir -o username=name,password=yourpassword
to see the win shares
Code:

smbclient -L ipaddress

Wim Sturkenboom 09-26-2006 11:46 PM

I was wrong with regards to what one sees in the security properties. This is the netbios name and not the server string.

odcheck, thanks for the reply
My slackware box is called fileserver1 (172.18.32.1), the server string is fileserver1 and the netbios name is fileserver_1. So what should I see in windows explorer when I have mapped //172.18.32.1/wim ?

Further I don't have shares on my windows box. So I don't need to mount a windows share on linux. My comment was that I could not yet mount the share on the linux box on another linux box. But I will figure that out somewhere along the line or post another question here.

PS
my windows box only knows the ip-address of the Linux server, not the hostname.

Wim Sturkenboom 09-27-2006 09:47 PM

Update:
Used smbclient //fileserver1/wim on the sambaserver itself. After login it gives three fields, the last one being server. The value is 'Samba 3.0.20'.

So still the question : how do I modify that string?

Free_beer 09-28-2006 01:11 AM

Quote:

Originally Posted by Wim Sturkenboom
Played a bit with samba on a Slackware 10.2 box. I can map the share as a network drive in WinXP, but the description in the windows explorer is not what I expect.

It says wim on Samba 3.0.2 [172.18.32.1] (or whatever the version number is with a standard Slack10.2 install). This is the default setting (according to man smb.conf). I however expect it to show the name that I specified in the 'server string'.
The correct 'server string' however shows up in the security properties in WinXP.

I've restarted samba, rebooted the machine, rebooted XP and it did not help.

Do I misunderstand the function of 'server string' or is there something else (maybe WinXP behavior).

Mounting under linux does not work (yet) so I can't tell you what will be displayed there (if anything).

Are you trying to set up a Linux Share on your box so you can use Samba to access it from your WindowsXP box?

Wim Sturkenboom 09-28-2006 02:16 AM

I have a linux box. I've created a smb.conf on it from scratch and started the samba server on that linux box. If I remember, I will copy the smb.conf tomorrow and post it here.
Next I use windows XP to access that share (map network drive). That works.
I've also used smbclient on the linux box to access the share on that box. That also works (see update above).
But both don't give me the server string and that confuses me. Workgroup and netbios name are displayed correctly, but server string isn't.

odcheck 09-28-2006 02:45 AM

Quote:

[global]

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = mistgrube

# server string is the equivalent of the NT Description field
server string = drecksau
Do you mean this ?

Wim Sturkenboom 09-28-2006 04:34 AM

Yes; as far as I know I'm supposed to see that when I 'connect'


All times are GMT -5. The time now is 03:22 PM.