Patch: NetServerGetInfo - Changing SMB server version for Samba

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Sep 6 13:58:30 CEST 2013

On Sun, Jul 14, 2013 at 02:09:48PM +0530, Shekhar Amlekar wrote:
> Hi,
> Please find attached a patch that changes the Samba server version from 
> 4.9 to 6.1 in the NetServerGetInfo call (this mimics Win2K8R2 per the spec
> ). While creating a share thru' MMC, the selection of offline caching 
> property is greyed out  for older versions (4.9 in our case) of server. 
> The patch lets the offline caching be set during share creation.
> Request your review and comments.

Looks fine by me.

Reviewed-by: Volker Lendecke <vl at>


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen, mailto:kontakt at

visit us on it-sa:IT security exhibitions in Nürnberg, Germany
October 8th - 10th 2013, hall 12, booth 333
free tickets available via code 270691 on:

More information about the samba-technical mailing list