Ik heb hier 2 samba servers staan, ging een tijdje goed, maar nu is er eentje niet meer bereikbaar.
server1 (192.168.1.100) met:
met smblclient -U <user> -L server1 krijg ik:
Errors
Server1:
in log.smb:
server1 (192.168.1.100) met:
en server2 (192.168.1.1) met:# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server
; password server = <NT-Server-Name>
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
local master = yes
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
os level = 34
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
domain master = yes
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
preferred master = yes
# Use only if you have an NT server on your network that has been
# configured at install time to be a primary domain controller.
; domain controller = <NT-Domain-Controller-SMBName>
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
domain logons = yes
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
name resolve order = wins lmhosts hosts bcast
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = yes
Allebei zitten ze in dezelfde workgroup (shadax).# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = server
# Use password server option only with security = server
password server = server1
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
local master = no
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
os level = 33
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
domain master = no
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
preferred master = no
# Use only if you have an NT server on your network that has been
# configured at install time to be a primary domain controller.
; domain controller =
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
; domain logons = yes
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
name resolve order = wins lmhosts bcast
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
wins server = 192.168.1.100
# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no
met smblclient -U <user> -L server1 krijg ik:
met smblclient -U <user> -L server2 krijg ik:Sharename Type Comment
--------- ---- -------
<de shares>
Server Comment
--------- -------
SERVER1
SERVER2
WIN98
Workgroup Master
--------- -------
SHADAX SERVER1
Ik mis dus hier de WIN98 machine, soms mis ik ook server1, en heb ik dus geen master ingevuld staan. De win98 machine kan ook niet meer bij de shares van server2.Sharename Type Comment
--------- ---- -------
<de shares>
Server Comment
--------- -------
SERVER1
SERVER2
Workgroup Master
--------- -------
SHADAX SERVER1
Errors
Server1:
in log.smb:
in log.nmbsmbd version 2.0.6 started.
Copyright Andrew Tridgell 1992-1998
[2000/12/21 14:30:27, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 1014 are available.
Weet iemand wat hier fout gaat?Netbios nameserver version 2.0.6 started.
Copyright Andrew Tridgell 1994-1998
[2000/12/21 14:30:48, 0] nmbd/nmbd_nameregister.c:register_name_response(112)
register_name_response: server at IP 192.168.1.100 rejected our name registration of SERVER2<20> with error code 5.
[2000/12/21 14:30:48, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(295)
standard_fail_register: Failed to register/refresh name SERVER2<20> on subnet UNICAST_SUBNET
[2000/12/21 14:30:48, 0] nmbd/nmbd_nameregister.c:register_name_response(112)
register_name_response: server at IP 192.168.1.100 rejected our name registration of SERVER2<03> with error code 5.
[2000/12/21 14:30:48, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(295)
standard_fail_register: Failed to register/refresh name SERVER2<03> on subnet UNICAST_SUBNET
[2000/12/21 14:30:48, 0] nmbd/nmbd_nameregister.c:register_name_response(112)
register_name_response: server at IP 192.168.1.100 rejected our name registration of SERVER2<00> with error code 5.
[2000/12/21 14:30:48, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(295)
standard_fail_register: Failed to register/refresh name SERVER2<00> on subnet UNICAST_SUBNET
[2000/12/21 14:35:45, 0] nmbd/nmbd_namequery.c:query_name_response(95)
query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.1 for name SHADAX<1d>. This response wnse was from IP 192.168.1.100
[2000/12/21 14:40:45, 0] nmbd/nmbd_namequery.c:query_name_response(95)
query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.1 for name SHADAX<1d>. This response wnse was from IP 192.168.1.100