Get Samba version or capability information from Windows

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jan 17 17:45:16 GMT 2008

On Thu, Jan 17, 2008 at 06:35:26PM +0100, Corinna Vinschen wrote:
> That might be a teeny little bit too detailed ;)
> I thought about something like a well-defined structure, along these lines:
>   struct smb_extra_info
>   {
>     uint32_t magic_number;	/* "SmBa" or something */
>     uint8_t  samba_version[4];  /* { 3, 2, 0, 'a' } */
>     uint32_t feature_flags;
>     uint32_t bugfix_flags;
>     [...]
>   };

Hmmm. This would mean that we have to define features
and/or bugfixes. This is a bit too volatile for my taste. We
announce quite a lot of our features via different means
already, although not all of these bits might be accessible
from the NT user space.

Could you live with what is defined in samba_version_string()?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list