[PATCH] fix display of REG_DWORD in spoolss rpcclient

Jeremy Allison jra at samba.org
Sat May 6 21:21:53 UTC 2017


On Fri, May 05, 2017 at 06:24:17PM +0200, Günther Deschner wrote:
> Hi Jeremy,
> 
> there is no need to do that. In an enumdata(ex) context, the first reply
> will return with content in a buffer that can fill the largest entry in
> the array of attributes. All subsequent queries then reuse this buffer
> even if the key/value pair in question then is just a 4 byte DWORD. The
> remaining buffer will be just empty and of no interest.

Thanks Günther, makes perfect sense. Pushed !



More information about the samba-technical mailing list