Teraz nauczyłem W98 przeglądać wszystkie udostępnione udziały na podsieciach, ale w2k jak nie widzi, tak nie widzi. Domyślam się, że to jest coś z Sambą i wins, ale nie potrafię ustalić co? W załączeniu smb.conf. Może ktoś podsunie jakiś pomysł.
;
; /etc/samba/smb.conf
; SMB.CONF
; Plik pracuje poprawnie na knoppixie
; to jest konfiguracja NND
;
[global]
; panic action = /usr/share/samba/panic-action %d
printing = bsd
printcap name = /etc/printcap
map archive = no
public = no
read only = no
lpq cache time = 10
# konwersja nazw plikow
preserve case = yes
short preserve case = yes
hide dot files = yes
# dopisalem
; print command = /usr/lpr -P%p -r %s
min print space = 2000
# koniec dopisu
load printers = yes
guest account = nobody
invalid users = root
security = user
workgroup = dom
server string = Samba: %v / Host: %h
netbios name = router
; server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
syslog only = no
syslog = 2
log level = 2
max log size = 5000
debug level = 2
debug timestamp = no
timestamp logs = Yes
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
read raw = yes
write raw = yes
# buforowanie katalogow
getwd cache = yes
# chcemy by hasla byly szyfrowane jak w W98 i NT
# w98 wymaga takiego trybu poprzez modyfikacje rejestru
# Odpowiednie pliki *reg sa dostepne w zrodlach Samby.
# Tryb pracy z szyfrowanymi haslami Samby pozwala na zmiane
# hasla sieciowego z poziomu "Panelu sterowania" w Windows
encrypt passwords = true
; passdb backend = smbpasswd guest
; wins support = yes
wins server = yes
#
# Logowanie do domeny dla Windows 3.x, 95, 98,
domain logons = yes
# przechowywanie profilu usera na serwerze
logon script = startup.bat
# wlaczdenie skryptow logowania mapujacych dyski drukarki itp.
logon path = \\%L\%U
# chcemy by wszystkie maszyny synchronizowaly datei czas
; zgodnie z naszym serwerem (jak w NetWare)
time server = True
hosts allow = localhost, 10.1.1.0/24 10.1.2.0/24 10.1.3.0/24
; include = /etc/samba/dhcp.conf
# ten zapis wygrywa wybory przegladarki sieci
os level = 64
; domain master = no
local master = yes
preferred master = yes
# adres serwera glownego, na ktorym jest nasz WINS
wins server = 10.1.1.1
name resolve order = wins bcast hosts lmhosts
dns proxy = no
bind interfaces only = Yes
interfaces = 10.1.1.1/24 10.1.2.1/24 10.1.3.1/24
interfaces = lo eth0 eth1 ra0
preserve case = yes
short preserve case = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
; The following parameter is useful only if you have the linpopup package
; installed. The samba maintainer and the linpopup maintainer are
; working to ease installation and configuration of linpopup and samba.
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
log file = /var/log/samba/log.%m
max log size = 10
obey pam restrictions = yes
; Komunikaty WinPopup
; %s nazwa pliku z komunikatem
; %f nazwa klienta który przes?a? komunikat
; %t nazwa kkomputera który jest adresatem komunikatu
message command = /bin/csh -c 'xedit %s; rm %s' &
; message command = /bin/csh -c 'xedit %f; rm %f' &
; message command = /bin/csh -c 'xedit %t; rm %t' &
; ISOLATIN2 with euro sign
unix charset = iso-8859-2
display charset = iso-8859-2
dos charset = CP852
# domyslny tryb tworzenia plikow -rw------
create mode = 700
[homes]
comment = Udzial prywatny %S
; %u - unixowa nazwa uzytkownika
; %S - nazwa udzialu
; %P - katalog udzialu - pokazuje wszystkie udzialy
path = /home/%u
username = %S
writeable = Yes
; only user = Yes
browseable = Yes
read only = no
; File creation mask is set to 0700 for security reasons. If you want to
; create files with group=rw permissions, set next parameter to 0775.
create mask = 0775
; Directory creation mask is set to 0700 for security reasons. If you want to
; create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0775
[tmp]
; po utworzeniu /samba_magazyn/tmp katalogu w konsoli wydaj polecenie
; chmod 777 /samba_magazyn/tmp
; inaczej katalago nie b?dzie dost?pny
comment = Udzial publiczny
path = /samba_magazyn/tmp
volume = Stacja-sieciowa
writeable =yes
guest ok = yes
[filmy]
; po utworzeniu katalogu /samba_magazyn/filmy w konsoli wydaj polecenie
; chmod 777 /samba_magazyn/filmy
; inaczej katalago nie b?dzie dost?pny
path = /samba_magazyn/filmy
comment = Udzial publiczny do zapisu filmów
volume = Stacja-sieciowa
writeable =yes
guest ok = yes
[bzdury]
; po utworzeniu katalogu /samba_magazyn/bzdury w konsoli wydaj polecenie
; chmod 777 /samba_magazyn/bzdury
; inaczej katalago nie b?dzie dost?pny
path = /samba_magazyn/bzdury
comment = Udzial do zapisu bzdur
volume = Stacja-sieciowa
writeable =yes
guest ok = yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
guest ok = no
read only = yes
[printers]
; printer admin = julek
comment = All Printers
browseable = yes
path = /tmp
printable = yes
public = yes
writable = yes
create mode = 0700
; A sample share for sharing your CD-ROM with others.
[cdrom]
comment = Samba router server's CD-ROM
writable = no
printable = no
browseable = yes
share modes = no
locking = no
path = /cdrom
public = yes
guest ok = yes
;
; The next two parameters show how to auto-mount a CD-ROM when the
; cdrom share is accesed. For this to work /etc/fstab must contain
; an entry like this:
;
; /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
;
; The CD-ROM gets unmounted automatically after the connection to the
;
; If you don't want to use auto-mounting/unmounting make sure the CD
; is mounted on /cdrom
;
preexec = /bin/m /cdrom
postexec = /bin/umount /cdrom