rpc.spoolss and rpc.wkssvc use RAP

Jeremy Allison jra at samba.org
Tue Feb 25 20:00:10 UTC 2020


On Fri, Feb 21, 2020 at 08:42:48AM -0700, David Mulder via samba-technical wrote:
> When looking to create SMB2 tests for spoolss and wkssvc, I was blocked
> because they make calls to RAP, which is deprecated with SMB2 (according
> to
> https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rap/6676494b-2a48-41dc-8289-009895f22ab9).
> Specifically these tests use smbcli_rap_netservergetinfo(). I couldn't
> think of the best alternative here. Anybody have any thoughts how to
> work around this?

 think all they're using this for is:

rap_get_servername()

to get the target server NetBIOS name.

I think there are other DCE calls to
get this name (can't remember offhand
which ones but I know they're there :-)
or just pass in the server name as a
test parameter.

Shouldn't be a blocker long term I think.

Jeremy.



More information about the samba-technical mailing list