samba a windows2000
David Lukaštík
david.lukastik na svkuh.cz
Pátek Prosinec 6 06:46:46 CET 2002
Zdravim,
On Čt, 2002-12-05 at 19:28, Zbynek Tonar wrote:
> 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.
Dotaz - Ta samba na kterou se chcete pripojit funguje jako PDC?
>
>
> 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)?
Pokud chcete Sambu jako PDC, pak ji musite nastavit. A pridavat ucty
pocitacu pomoci smbpasswd. (Podle vypisu ze smb.conf, to neni Vas
pripad.)
Pokud nefunguje a nebude Samba fungovat jako PDC a ma byt schopna
komunikovat s pocitaci, ktere v domene jsou (Win2k), pak je nutne ji do
existujici domeny pridat.
Opet pomoci prikazu smbpasswd. Parametr -j. -- Dalsi informace v man
strance o smbpasswd.
> -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
Vase NT domena se jmenuje Workgroup?
> server string = Linux-Samba-server
> os level = 2
> kernel oplocks = No
> client code page = 852
> character set = ISO8859-2
>
> security = user
Pokud Samba neni jako PDC je lepsi nastavit Server.
A take je potreba nastavit jmeno serveru podle, ktereho overujete
prihlasene uzivatele.
> 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
>
>
S pozdravem
Davadu.
Další informace o konferenci Linux