Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam wszystkich
Mam problem z Sambą (3.0.24) w pliku loga log.nmbd pojawiają mi się nastepujące wpisy:
[2008/05/25 18:28:28, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server KRZYSIEK is now a local master browser for workgroup GRUPA_ROBOCZA on subnet 192.168.0.1 ***** [2008/05/25 18:43:39, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name GRUPA_ROBOCZA<1b> for the workgroup GRUPA_ROBOCZA. Unable to sync browse lists in this workgroup. [2008/05/25 18:43:39, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name GRUPA_ROBOCZA<1b> for the workgroup GRUPA_ROBOCZA. Unable to sync browse lists in this workgroup.
A to mój konfig (bez sekcji udziałów):
[global] workgroup = GRUPA_ROBOCZA server string = Server (Samba %v) wins support = yes wins server = 192.168.0.1 dns proxy = no name resolve order = lmhosts host wins bcast domain master = yes local master = yes preferred master = yes os level = 255 interfaces = 192.168.0.0/12 eth1 log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d security = share encrypt passwords = no passdb backend = tdbsam obey pam restrictions = yes invalid users = root passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . socket options = TCP_NODELAY domain master = auto idmap uid = 10000-20000
Gdy wydaje polecenie testparm to mam następującego errora:
Processing section "[homes]" Processing section "[cdrom]" Processing section "[katalog FTP]" Loaded services file OK. ERROR: both 'wins support = true' and 'wins server = <server list>' cannot be set in the smb.conf file. nmbd will abort with this setting. Server role: ROLE_STANDALONE
Szukałem ale nie znalazłem rozwiązania na ten problem, może ktoś z forum miał podobny przypadeki sobie z tym poradził?
Ok na errora w testpram znalazłem rozwiązanie - należy zahaszować
;wins server = 192.168.0.1
Ostatnio edytowany przez masonix (2008-05-26 21:37:21)
Offline
a weź ustaw
wins suport = no
Czy to jest adres twojej karty sieciowej? moim zdaniem nie powinno być w adresie ostatnie "0" i czy maska sieciowa jest napewno /12
interfaces = 192.168.0.0/12 eth1
Offline
Witam
ustawiłem
interfaces = eth1
wins support = no
i dalej coś w logach krzyczy
[2008/05/27 19:23:08, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172) process_name_refresh_request: unicast name registration request received for name KAROLINKA<00> from IP 192.168.0.3 on subnet UNICAST_SUBNET. [2008/05/27 19:23:08, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173) Error - should be sent to WINS server [2008/05/27 19:23:08, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172) process_name_refresh_request: unicast name registration request received for name GRUPA_ROBOCZA<00> from IP 192.168.0.3 on subnet UNICAST_SUBNET. [2008/05/27 19:23:08, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173) Error - should be sent to WINS server
Ostatnio edytowany przez masonix (2008-05-27 19:24:01)
Offline
a na końcówce masz ustawiony wins ?
Offline
To jest mój global - działa !!!
[global]
dos charset = CP852
unix charset = ISO8859-2
workgroup = GMINA
netbios name = SERVER
server string = %h server (Samba %v)
interfaces = 192.168.0.10/24, 127.0.0.1/32
bind interfaces only = Yes
passwd program = /usr/bin/passwd %u
password level = 8
unix password sync = Yes
log level = 2
syslog = 0
log file = /var/log/samba/log.%m
smb ports = 139 445
name resolve order = lmhosts wins bcast hosts
time server = Yes
deadtime = 60
keepalive = 15
logon path = \\%L\Profiles\%U
logon home = \\%L\%U\profile
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 IPTOS_LOWDELAY
logon script = logon.bat
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
oplock break wait time = 10
panic action = /var/log/samba/panic-action %d
admin users = root
read only = No
hosts allow = 192.168.0., 127.0.0.
hosts deny = ALL
oplock contention limit = 5
strict locking = No
nt acl support = no
load printers = Yes
printcap name = cups
printing = cups
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/gropuadd %g
delete group script = /usr/script/groupdel %g
add user to group script = /usr/sbin/groupmod -A %u %g
delete user from group script = /usr/sbin/groupmod -R %u %g
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u
Offline