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/.
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:
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
[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
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