[Samba] Join fails with 'SPNEGO login failed: invalid parameter' - SOLVED

Remy Zandwijk remy.zandwijk at falw.vu.nl
Tue Jan 13 08:23:17 GMT 2009


Replying my own mail. I resolved this issue, which was the result of missing 
iconv library files. Apparently, the default install of the SUNWuiu8 package 
(Iconv modules for UTF-8 Locale) misses some files. Patch 113896-07, which is 
not part of the recommended and security patch clusters, adds them to the 
system. Note that the log file also complains about 'No protocol supported !' 
in the negprot.c module. Quite misleading these messages.

-Remy

==============================

Hi,

I am running Samba 3.2.4 on a Solaris 10 SPARC machine. The config is pretty
simple (see below). Security is set to 'domain'. The PDC and BDC are running
3.0.30 without problems.

When joining the machine to the domain with 'net rpc join', it fails with:

	Could not connect to server 130.37.79.2
	Connection failed: NT_STATUS_INVALID_PARAMETER


when running the net command with -d10, messages appear like:

[2008/11/02 21:00:54,  1] libsmb/ntlmssp.c:(326)
   Failed to parse NTLMSSP packet, could not extract NTLMSSP command
[2008/11/02 21:00:54,  3] libsmb/cliconnect.c:(1036)
   SPNEGO login failed: Invalid parameter
[2008/11/02 21:00:54,  1] libsmb/cliconnect.c:(1737)
   failed session setup with NT_STATUS_INVALID_PARAMETER


What's keeping Samba from joining the domain correctly?




More information about the samba mailing list