Get Samba version or capability information from Windows
Volker.Lendecke at SerNet.DE
Fri Jan 18 08:16:01 GMT 2008
On Thu, Jan 17, 2008 at 05:09:54PM -0500, David Collier-Brown wrote:
> I'd mildly reccomend a compact form of the first three of these,
> ending in a string version and date/time for human convenience.
> struct smb_extra_info
> uint32_t magic_number; /* "SmBa" or something */
> uint64_t samba_build_ver; /* SVN or Git version number. */
> time_t samba_build_time; /* The time of the commit. */
> char samba_version; /* String version and date/time */
> This assumes that you only need 4-byte alignment if you want to
> grab the binary build_ver and build_time, of course.
Sounds ok, although I don't know yet where we should get the
build time from. But that should be solvable.
Corinna, would you mind to code that up as a patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080118/d098e617/attachment.bin
More information about the samba-technical