samba a windows2000
Zbynek Tonar
tonar na ntc.zcu.cz
Čtvrtek Prosinec 5 19:28:01 CET 2002
Dobry den,
pred tydnem zde bezela diskuse na podobne tema, obavam se vsak, ze z ni
nedokazu vytezit reseni pro svuj problem.
Pouzivam Sambu 2.2.5 (SuSE Linux 8.1). Okolo jsou PC prihlasene do NT
domeny.
Co potrebuji: Potrebuji nastavit sambu tak, aby okolni klienti s Windows
2000 videli adresar public, ktery j sem s prislusnymi pravy na cteni a
zapis vytvoril v /home.
Co mi nyni funguje: Pri soucasnem nastaveni funguje vyse
uvedene jen v okolnich klientech s Win98 - mohu pri
praci na okolnich Win98 z adresare public na linuxovem stroji cist i
zapisovat bez nutnosti prihlaseni a ne
jake autentifikace.
Problem: Z klientu s Windows 2000 najdu v siti svuj stroj se sambou, ale
pri pokusu jej prozkoumat jsem odmi tnut (s hlaskou Ucet nema povoleno
prihlasit se z teto stanice).
Moje otazky:
-Je problem v nastaveni smb.conf nebo je problem v nastaveni
Windows 2000 klienta (kdyz z win98 to funguje a z Win2000 nikoliv)?
-Co a kde tedy musim spravne nakonfigurovat? Prosim o
polopaticky popis, studiem manualu jsem se dostal jen do teto faze.
Ping mezi vsemi stroji samozrejme funguje.
Prikladam nize svuj smb.conf.
Dekuji za pripadne rady a za Vas cas.
Zbynek Tonar
---------------------------------------
Vypis smb.conf:
[global]
workgroup = workgroup
server string = Linux-Samba-server
os level = 2
kernel oplocks = No
client code page = 852
character set = ISO8859-2
security = user
encrypt passwords = Yes
guest account = tonar
map to guest = Bad User
dns proxy = no
# This tells samba to write log files per machine.
log file = /var/log/samba/%m
# This sets an alternate log level. Default is 2.
; log level = 3
printing = LPRNG
printcap name = /etc/printcap
load printers = Yes
e settings are a suggestion for a local network. Cf. section
# 'socket options' in the man page of smb.conf and socket(7).
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
# Uncomment this, if you want to integrate your server
# into an existing net e.g. with NT-WS to prevent nettraffic
; local master = No
# Please uncomment the following entry and replace the ip number and
# netmask with the correct numbers for your ethernet interface.
interfaces = 192.168.6.49/255.255.255.0
# If you want Samba to act as a wins server, please set
# 'wins support' to yes.
wins support = yes
# If you want Samba to use an existing wins server, please uncomment the
# following line and replace the dummy with the wins server's ip number.
; wins server = 192.168.1.1
# Do you wan't samba to act as a logon-server for your windows 95/98
# clients, so uncomment the following:
; domain logons = Yes
; domain master = Yes
# For a specific logon script per user
; logon script = %U.bat
# For a specific logon script per machine
; logon script = %m.bat
# Where to store the logon scripts.
;[netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
# Where profiles of Windows 9x systems are stored.
# First example for a centralized place.
; logon home = \\%L\profiles\%U
# Second example for a subdirectory of the users home.
; logon home = \\%L\%U\profile
# Where profiles of Windows NT systems are stored.
; logon path = \\%L\profiles\%U
# Extra share for profiles. Default is the home of the user.
;[profiles]
; comment = Network Profiles Service
; path = /var/lib/samba/profiles
; browseable = No
[public]
path = /home/public
public = True
only guest = False
writable = True
printable = no
directory mask = 0777
create mask = 0777
------------------------konec vypisu smb.conf
Další informace o konferenci Linux