LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-26-2006, 02:39 AM   #1
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
[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).
 
Old 09-26-2006, 03:05 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
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
 
Old 09-26-2006, 11:46 PM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 09-27-2006, 09:47 PM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
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?
 
Old 09-28-2006, 01:11 AM   #5
Free_beer
Member
 
Registered: Jul 2006
Distribution: Fedora Core 6, Ubuntu
Posts: 31

Rep: Reputation: 15
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?
 
Old 09-28-2006, 02:16 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 09-28-2006, 02:45 AM   #7
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
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 ?
 
Old 09-28-2006, 04:34 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
Yes; as far as I know I'm supposed to see that when I 'connect'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sockets: Send string to server introuble Programming 13 07-02-2006 06:38 PM
Samba Server String delamatrix Linux - Networking 2 04-25-2005 06:50 PM
SNMP community string change - SERVER CRASH nishil Linux - Networking 2 11-21-2004 09:14 PM
java test if string in string array is null. exodist Programming 3 02-21-2004 01:39 PM
Samba PDC Server String - Weird Problem? Vince0000 Linux - General 3 01-15-2004 08:12 AM


All times are GMT -5. The time now is 03:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration