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
Tak mam poprzez DHCP
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
Time (s) | Query |
---|---|
0.00012 | SET CHARSET latin2 |
0.00006 | SET NAMES latin2 |
0.00114 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.118.226.167' WHERE u.id=1 |
0.00069 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.118.226.167', 1732253430) |
0.00051 | SELECT * FROM punbb_online WHERE logged<1732253130 |
0.00045 | SELECT topic_id FROM punbb_posts WHERE id=91750 |
0.00008 | SELECT id FROM punbb_posts WHERE topic_id=11516 ORDER BY posted |
0.00063 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=11516 AND t.moved_to IS NULL |
0.00008 | SELECT search_for, replace_with FROM punbb_censoring |
0.00134 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=11516 ORDER BY p.id LIMIT 0,25 |
0.00075 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=11516 |
Total query time: 0.00585 s |