---------------------------------------------------------------
t37.nevod.perm.su/linux/
---------------------------------------------------------------
Linux'a
- .
# Copyright(C) by Kosta Kudrin
# cola@tcsb.perm.su aka 2:5054/69@fidonet
# DIAGNOSIS
# samba-1.9.16p11
#
============================
,
Samba.
.
.
, .
I have tried to carefully choose them so later tests only use capabili
ties verified in the earlier tests.
.
samba-bugs@samba.anu.edu.au
, " ",
,
.
-----------
Samba
BIGSERVER (PC) ACLIENT.
, "Windows
" tcp/ip windows.
smb.conf .
, "tmp".
, smb.conf
:
[tmp]
comment = temporary files
path = /tmp
read only = yes
SAMBA 1.9.16
. .
-------
"testparm". -
, smb.conf
.
-------
"ping BIGSERVER" "ping
ACLIENT" unix , samba.
, TCP/IP
.
,
"dos " window ping.
"host not found" (" ")
, DNS ,
/etc/hosts.
It is possible to
run samba without DNS entries for the server and client,
.
-------
unix "smbclient -L BIGSERVER" .
.
"Bad password" ,
"hosts allow", "hosts deny" "valid users"
smb.conf, . ,
"testparm"
"hosts allow", "hosts deny", "valid users" "invalid users" .
"connection refused" , smbd
. inetd.conf ,
. Samba ,
. "netstat
-a" netbios-ssn LISTEN.
"session request failed" (
) , .
"your server software is being unfriendly" (
) , , smbd
, - samba .
"testparm" smb.conf ,
, samba lock log .
:
- 139 ( smbd
inetd.conf), - Digital's Pathworks.
ined.conf smbd .
-------
"nmblookup -B BIGSERVER __SAMBA__".
IP Samba .
nmbd . ined.conf nmbd
, 137.
, ined.conf
.
, - ,
ined.conf.
-------
"nmblookup -B ACLIENT '*'"
IP PC .
,
, PC.
-------
"nmblookup -d 2 '*'"
,
broadcast . Net
bios/TCPIP , Samba
.
, nmblookup
broadcast .
"interfaces"
smb.conf , IP , broadcast
(netmask).
, -B
broadcast PCs.
TET 7:
-------
"smbclient '\\BIGSERVER\TMP'".
. ,
unix.
account, -U .
"smb>" .
, . "invalid net
work name" ( ) , "tmp"
smb.conf. "bad pass
word" ( ) , :
- shadow ( ),
samba .
- "valid users" .
- ,
"password level" .
- "path =" smb.conf .
testparm.
- , SMB
.
"dir" "get"
"put" . "help <>" .
"dir".
-------
"net view \\BIGSERVER".
window.
. "net
work name not found" ( ) ,
netbios name resolution . nmbd.
(
):
- the nmbd.
- IP BIGSERVER "wins server"
tcp/ip (advanced tcp/ip setup on the PC) .
- windows DNS
tcp/ip.
- BIGSERVER lmhosts PC.
"invalid network name" "bad password error"
"smbclient -L" . "hosts allow"
.
--------
"net use x: \\BIGSERVER\TMP".
, "command completed suc
cessfully" ( ). , PC
, smb.conf .
"hosts allow" smb.conf .
. "user = USERNAME"
[tmp] smb.conf, "USERNAME"
(username) .
, user
name map.
--------
. samba
(local workgroup).
.
"invalid password" ( ),
WinNT is refusing to browse a server that has no encrypted
password capability and is in user level security mode.
----------------------
mailing list
- , tcpdump-smb .
, Samba !
Last-modified: Wed, 03 Feb 1999 19:06:19 GMT