LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-14-2009, 05:01 PM   #16
revlo
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0

...I did
 
Old 06-14-2009, 05:03 PM   #17
revlo
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Code:
[global]

# ----------------------- Netwrok Related Options -------------------------
#
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
#
# Interfaces lets you configure Samba to use multiple interfaces
# If you have multiple network interfaces then you can list the ones
# you want to listen on (never omit localhost)
#
# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can
# specifiy it as a per share option as well
#
	workgroup = MSHOME
	server string = Samba Server Version %v
	
	netbios name = MYSERVER
	
;	interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24 
;	hosts allow = 127. 192.168.12. 192.168.13.
Code:
[root@localhost ~]# service smb restart
Shutting down SMB services:                                [  OK  ]
Starting SMB services:                                     [  OK  ]
[root@localhost ~]# smbclient -L localhost
Enter root's password: 
Anonymous login successful
Domain=[MSHOME] OS=[Unix] Server=[Samba 3.2.11-0.30.fc10]

	Sharename       Type      Comment
	---------       ----      -------
	share           Disk      Website
	homes           Disk      Home Directories
	IPC$            IPC       IPC Service (Samba Server Version 3.2.11-0.30.fc10)
Anonymous login successful
Domain=[MSHOME] OS=[Unix] Server=[Samba 3.2.11-0.30.fc10]

	Server               Comment
	---------            -------
	LOCALHOST            Samba Server Version 3.2.11-0.30.fc10
	PEANUT               
	TURBODOG             

	Workgroup            Master
	---------            -------
	MSHOME               LOCALHOST
[root@localhost ~]#
 
Old 06-14-2009, 05:07 PM   #18
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,744

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
How are you restarting samba?
 
Old 06-14-2009, 05:08 PM   #19
revlo
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
yes....as shown in my last post.
 
Old 06-14-2009, 05:10 PM   #20
revlo
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
didn't read that right. sorry -

Code:
[root@localhost ~]# service smb restart
Shutting down SMB services:                                [  OK  ]
Starting SMB services:                                     [  OK  ]
 
Old 06-14-2009, 05:13 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,744

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
Also check the logs /var/log/samba/log.nmbd It should show something like
Quote:
Samba name server myserver is now a local master browser for mshome WORKGROUP on subnet xxx.xxx.xxx.xxx
 
Old 06-14-2009, 05:17 PM   #22
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,744

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
Ok. I believe you. Not sure why its not working.
 
Old 06-14-2009, 05:18 PM   #23
revlo
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
i dont see anything like that

here is everything from the last hour

Code:
[2009/06/14 17:07:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(171)
  process_name_refresh_request: unicast name registration request received for name MSHOME<00> from IP 192.168.1.103 on subnet UNICAST_SUBNET.
[2009/06/14 17:07:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
  Error - should be sent to WINS server
[2009/06/14 17:07:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(171)
  process_name_refresh_request: unicast name registration request received for name PEANUT<20> from IP 192.168.1.103 on subnet UNICAST_SUBNET.
[2009/06/14 17:07:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
  Error - should be sent to WINS server
[2009/06/14 17:07:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(171)
  process_name_refresh_request: unicast name registration request received for name PEANUT<00> from IP 192.168.1.103 on subnet UNICAST_SUBNET.
[2009/06/14 17:07:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
  Error - should be sent to WINS server
[2009/06/14 17:15:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(171)
  process_name_refresh_request: unicast name registration request received for name MSHOME<00> from IP 192.168.1.103 on subnet UNICAST_SUBNET.
[2009/06/14 17:15:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
  Error - should be sent to WINS server
[2009/06/14 17:15:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(171)
  process_name_refresh_request: unicast name registration request received for name PEANUT<20> from IP 192.168.1.103 on subnet UNICAST_SUBNET.
[2009/06/14 17:15:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
  Error - should be sent to WINS server
[2009/06/14 17:15:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(171)
  process_name_refresh_request: unicast name registration request received for name PEANUT<00> from IP 192.168.1.103 on subnet UNICAST_SUBNET.
[2009/06/14 17:15:15,  0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
  Error - should be sent to WINS server
 
Old 06-14-2009, 08:55 PM   #24
revlo
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
anyone else have an clues to helping me get it going?
 
Old 06-14-2009, 09:51 PM   #25
revlo
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
its working!

i had to uncomment

Code:
netbios name = MYSERVER
then restart nmb and bam! worked! thanks guys!

Code:
[root@localhost ~]# service smb restart
Shutting down SMB services:                                [  OK  ]
Starting SMB services:                                     [  OK  ]
[root@localhost ~]# service nmb restart
Shutting down NMB services:                                [  OK  ]
Starting NMB services:                                     [  OK  ]
[root@localhost ~]# smbclient -L localhost
Enter root's password: 
Anonymous login successful
Domain=[MSHOME] OS=[Unix] Server=[Samba 3.2.11-0.30.fc10]

	Sharename       Type      Comment
	---------       ----      -------
	share           Disk      Website
	homes           Disk      Home Directories
	IPC$            IPC       IPC Service (Samba Server Version 3.2.11-0.30.fc10)
Anonymous login successful
Domain=[MSHOME] OS=[Unix] Server=[Samba 3.2.11-0.30.fc10]

	Server               Comment
	---------            -------
	MYSERVER             Samba Server Version 3.2.11-0.30.fc10

	Workgroup            Master
	---------            -------
	MSHOME
 
  


Reply



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
win xp home edition and samba home shares scheidel21 Linux - Software 8 10-09-2008 12:47 AM
samba, netbios-ssn and a chatty win xp home box. checkmate3001 Linux - Server 1 09-13-2008 04:58 PM
Samba and Print issues on home network dcabernel Linux - Networking 2 10-09-2006 09:36 PM
Samba and Win XP Speed Issues wdingus Linux - Networking 2 10-19-2003 04:14 AM
Samba & WIN XP Home pid79 Linux - Networking 1 03-18-2003 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration