[Samba] 4.1.5, spoolss_connect_to_client and negotiated protocol

Thomas Bork tombork at web.de
Fri Mar 7 05:07:02 MST 2014


Am 07.03.2014 11:10, schrieb David Disseldorp:

> We could change the check to (>= PROTOCOL_NT1), but given that modern
> clients usually don't accept the backchannel connection, I'd consider
> it of little value.

The message was printed anyway with Windows 7, which should reject null 
session pipes, according to the lanman parameters:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
 
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
   73,00,72,00,76,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00
"ServiceDllUnloadOnStop"=dword:00000001
"EnableAuthenticateUserSharing"=dword:00000001
"NullSessionPipes"=hex(7):00,00
"autodisconnect"=dword:0000000f
"enableforcedlogoff"=dword:00000001
"enablesecuritysignature"=dword:00000000
"requiresecuritysignature"=dword:00000000
"restrictnullsessaccess"=dword:00000001
"Lmannounce"=dword:00000000
"Size"=dword:00000001
"AdjustedNullSessionPipes"=dword:00000003
"Guid"=hex:5e,b5,dd,a3,b4,6c,59,4e,bb,2a,2a,c8,70,0a,ff,cf

> @Thomas, if you're willing to test backchannel notifications against
> an SMB2+ print client, I can send you a 4.1 based patch or rpm.

As patch please :-)

-- 
der tom


More information about the samba mailing list