PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba: protocol negotiation failed



Thaomir
03.08.04, 21:48
Hi,
Ich versuche seit Stunden Samba zum Laufen zu bringen, aber es funktioniert einfach nicht.
Dann habe ich es testweise mit einer minimalen config (siehe unten) probiert, die laut Samba-Doku ausreichen soll, aber das hat nichts geändert.
Unter Windows bekomme ich nichtssagende Fehlermeldungen, dass es nicht geht, unter Linux bekomme ich solche Fehlermeldungen:
8448: protocol negotiation failed
SMB connection failed
SMBfs ist im kernel und in den logfiles steht auch nichts dazu.

smb.conf:

[global]
workgroup = WORKGROUP

[homes]
guest ok = no
read only = no

Ich nehme mal an, dass es nicht an der smb.conf liegt, aber was könnte ich noch probieren?

senseipetz
03.08.04, 22:03
z.B. log level = 5 oder auch höher.. Es stehen mehr infos drin..

Vielleicht etwa ein win2k3 Server am laufen..

Dieser Artikel sollte aber hilfen..

http://www.linuxbasis.de/thread2341.html
Dennoch wären mehr infos recht gut.. Welches OS zu welches os.. Darus ergibt es sich villeicht wer probleme macht..

Thaomir
03.08.04, 22:38
Das loglevel zu erhöhen hat nichts gebracht, ausser dass in den logfiles jetzt steht, dass der Parameter loglevel gesetzt wurde.
Der Samba-Server ist GNU/Linux, der Client ebenfalls, ausserdem gibt es noch Windows XP Clients (Win2k3 ist nicht im Spiel).

senseipetz
04.08.04, 00:04
auch in den Log ob die spnego sich auf die Schnauze packt.. Ich musste diese ausschalten.. Soll eigentlich erst ab dem Win2k3 sauber funktionieren.. Macht aber recht häufig auch früher stress..
client use spnego = no

Was du machen kannst ist, ein smbclient connect zu versuchen:

smbclient -L <Samba/Linuxname> -d5

Soll heissen, dass samba einen connect mit einem Loglevel 5 ausführt. kannst es erhöhen.. Da wird man sehen, ob alles sauber funktioniert. ein vollständiger Dump kann ja mal nicht schaden.. Wenn zu gross als zip?

Thaomir
04.08.04, 15:47
Das spuckt smbclient aus:

# smbclient -L //Nihilanth -d5
INFO: Current debug levels:
all: True/5
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
pm_process() returned Yes
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
Substituting charset 'ISO-8859-15' for LOCALE
added interface ip=192.168.6.3 bcast=192.168.6.255 nmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="BRUTEFORCE"
Client started (version 3.0.5).
Opening cache file at /var/cache/samba/gencache.tdb
name Nihilanth#20 found.
Connecting to 192.168.6.2 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 87380
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
session request ok
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
protocol negotiation failed

Nach dem "session request ok" bleibt er erstmal ein paar Sekunden hängen, in den Logs passiert gar nichts.

Mallah
17.02.07, 18:29
habe den selben fehler: kann jmd etwas zu sagen?

protocol negotiation failed