How to retrieve "server_os" , "server_type" in string format if i am using SMB2 and higher protocol ??

Nagendra008 bodepu.nagendrakumar at
Thu Jul 27 06:50:19 UTC 2017

Hi metze,

Regarding the bug
"server_os" and "server_type" filling as empty string . Above bug marked as
<>   and resolved providing
two patches below.

Applied two patches on samba-4.6.6 and build the source code but i am still
seeing *sever_os and server_type as NULL fileds with SMB2 and higher

Tested the patch with rpcclient binary, Please look into the attached gdb
trace of rpcclient.

Please let me know if there is anything have to do to retrive the "sever_os"
and "server_type" with SMB2 protocol.


View this message in context:
Sent from the Samba - samba-technical mailing list archive at

More information about the samba-technical mailing list