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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2008-01-23 08:10:02

  Genzyp - Użytkownik

Genzyp
Użytkownik
Zarejestrowany: 2006-08-11

problem z sambą i win 2000 wrokstation - WINS

Nie umiem poradzić sobie z ustawieniami Samby odkąd podłączyłem stacje  z WIN2000.
Już zmieniłem os level = 99 i nie powinna samba przegrywać z WIN 2000 a przegrywa.

Moze "ktos" pomoże bo juz sił mi barak..


Komunikaty z logów:

Kod:

Jan 23 08:31:11 localhost nmbd[1734]: [2008/01/23 08:31:11, 0] nmbd/asyncdns.c:start_async_dns(149) 
Jan 23 08:31:11 localhost nmbd[1734]:   started asyncdns process 1736 
Jan 23 08:31:11 localhost nmbd[1734]: [2008/01/23 08:31:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327) 
Jan 23 08:31:11 localhost nmbd[1734]:   become_domain_master_browser_wins: 
Jan 23 08:31:11 localhost nmbd[1734]:   Attempting to become domain master browser on workgroup MOJA_GRUPA, subnet UNICAST_SUBNET. 
Jan 23 08:31:11 localhost nmbd[1734]: [2008/01/23 08:31:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341) 
Jan 23 08:31:11 localhost nmbd[1734]:   become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name MOJA_GRUPA<1b> on workgroup MOJA_GRUPA
Jan 23 08:31:11 localhost nmbd[1734]: [2008/01/23 08:31:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) 
Jan 23 08:31:11 localhost nmbd[1734]:   ***** 
Jan 23 08:31:11 localhost nmbd[1734]:    
Jan 23 08:31:11 localhost nmbd[1734]:   Samba server DIAMENT is now a domain master browser for workgroup MOJA_GRUPA on subnet UNICAST_SUBNET 
Jan 23 08:31:11 localhost nmbd[1734]:    
Jan 23 08:31:11 localhost nmbd[1734]:   ***** 
Jan 23 08:31:11 localhost nmbd[1734]: [2008/01/23 08:31:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) 
Jan 23 08:31:11 localhost nmbd[1734]:   become_domain_master_browser_bcast: 
Jan 23 08:31:11 localhost nmbd[1734]:   Attempting to become domain master browser on workgroup MOJA_GRUPA on subnet 192.168.0.1 
Jan 23 08:31:11 localhost nmbd[1734]: [2008/01/23 08:31:11, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295) 
Jan 23 08:31:11 localhost nmbd[1734]:   become_domain_master_browser_bcast: querying subnet 192.168.0.1 for domain master browser on workgroup MOJA_GRUPA
Jan 23 08:31:20 localhost nmbd[1734]: [2008/01/23 08:31:20, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) 
Jan 23 08:31:20 localhost nmbd[1734]:   ***** 
Jan 23 08:31:20 localhost nmbd[1734]:    
Jan 23 08:31:20 localhost nmbd[1734]:   Samba server DIAMENT is now a domain master browser for workgroup MOJA_GRUPA on subnet 192.168.0.1 
Jan 23 08:31:20 localhost nmbd[1734]:    
Jan 23 08:31:20 localhost nmbd[1734]:   ***** 
Jan 23 08:31:34 localhost nmbd[1734]: [2008/01/23 08:31:34, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) 
Jan 23 08:31:34 localhost nmbd[1734]:   ***** 
Jan 23 08:31:34 localhost nmbd[1734]:    
Jan 23 08:31:34 localhost nmbd[1734]:   Samba name server DIAMENT is now a local master browser for workgroup MOJA_GRUPA on subnet 192.168.0.1 
Jan 23 08:31:34 localhost nmbd[1734]:    
Jan 23 08:31:34 localhost nmbd[1734]:   ***** 
Jan 23 08:31:57 localhost nmbd[1734]: [2008/01/23 08:31:57, 0] nmbd/nmbd_incomingdgrams.c:process_local_master_announce(311) 
Jan 23 08:31:57 localhost nmbd[1734]:   process_local_master_announce: Server TECHNICZNY2 at IP 192.168.0.30 is announcing itself as a local master browser for workgroup MOJA_GRUPA and we think we are master. Forcing election. 
Jan 23 08:31:57 localhost nmbd[1734]: [2008/01/23 08:31:57, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149) 
Jan 23 08:31:57 localhost nmbd[1734]:   ***** 
Jan 23 08:31:57 localhost nmbd[1734]:    
Jan 23 08:31:57 localhost nmbd[1734]:   Samba name server DIAMENT has stopped being a local master browser for workgroup MOJA_GRUPA on subnet 192.168.0.1 
Jan 23 08:31:57 localhost nmbd[1734]:    
Jan 23 08:31:57 localhost nmbd[1734]:   ***** 
Jan 23 08:32:15 localhost nmbd[1734]: [2008/01/23 08:32:15, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) 
Jan 23 08:32:15 localhost nmbd[1734]:   ***** 
Jan 23 08:32:15 localhost nmbd[1734]:    
Jan 23 08:32:15 localhost nmbd[1734]:   Samba name server DIAMENT is now a local master browser for workgroup MOJA_GRUPA on subnet 192.168.0.1 
Jan 23 08:32:15 localhost nmbd[1734]:    
Jan 23 08:32:15 localhost nmbd[1734]:   *****

i smb.conf

Kod:

[global]
# podstawowe opcje konfiguracji serwera
netbios name = DIAMENT
server string = DIAMENT

workgroup = MOJA_GRUPA

# uwierzytelnianie
security = user
encrypt passwords = true
update encrypted = No
smb passwd file = /etc/samba/smbpasswd
unix password sync = no
null passwords = false

dont descend = /dev,/proc,/root,/stand,/bin,/dist,/etc,/lkm,/mnt,/sbin,/sys,/usr

# konta maszyn Samba 3.0
#add machine script = /usr/sbin/useradd -d /dev/null -g machines -c 'Konto Maszyny %I' -s /bin/false %u

socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384 IPTOS_LOWDELAY
read raw = yes
write raw = yes
getwd cache = yes
# write cache size = 65536

bind interfaces only = True
interfaces = 192.168.0.1/255.255.255.0
hosts allow = localhost, 192.168.0.0/255.255.255.0
bind interfaces only = yes

#----------------
socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384 IPTOS_LOWDELAY 
deadtime = 60 
keepalive = 15
kernel oplocks = No 
message command = /usr/bin/LinPopUp "%f" "%m" %s; rm %s
oplock contention limit = 5 
#-------------------

passwd chat debug = false
debug level = 2
debug timestamp = no



nt acl support = no
#map to guest = Bad User
domain logons = no
#logon script = logon.bat
# opcje logów i rejestrowania
log file = /var/log/samba/log.%I
timestamp logs = True
max log size = 5000
log level = 2
# opcje przegl±darki, domeny, serwera czasu
os level = 99
domain master = yes
local master = yes
prefered master = yes
time server = no
wins support = yes
# polskie znaczki Samba 3.0
; unix charset = ISO8859-2
; dos charset = CP852

# ----------------------------
preserve case = yes
short preserve case = yes
hide dot files = yes

guest ok = no
browseable = yes
create mode = 755
dos file times = yes
dead time = 15
keep alive = 15
max open files = 500
max ttl = 10800
max wins ttl = 36000
min wins ttl = 18000
nt pipe support = yes
nt acl support = no
#logon script = startup.bat
#logon path = \\%L\%

#------------------------------------

Offline

 

#2  2008-02-02 19:50:18

  andreq - Członek DUG

andreq
Członek DUG
Skąd: Nisko
Zarejestrowany: 2005-01-11

Re: problem z sambą i win 2000 wrokstation - WINS

Ja jestem okrutny i mam ustawione:

os level = 255
domain master = yes
local master = yes
prefered master = yes
wins support = yes

nigdy samba nie "przegrała" wyboru

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.009 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00011 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00126 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='3.145.95.233' WHERE u.id=1
0.00212 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.145.95.233', 1732846683)
0.00057 SELECT * FROM punbb_online WHERE logged<1732846383
0.00066 SELECT topic_id FROM punbb_posts WHERE id=81799
0.00095 SELECT id FROM punbb_posts WHERE topic_id=10427 ORDER BY posted
0.00038 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=10427 AND t.moved_to IS NULL
0.00026 SELECT search_for, replace_with FROM punbb_censoring
0.00059 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=10427 ORDER BY p.id LIMIT 0,25
0.00099 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=10427
Total query time: 0.00793 s