Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[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 ~]#
[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
[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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.