default values for unsupported fileinfo levels

Sam Liddicott sam at liddicott.com
Thu Jul 2 08:03:53 GMT 2009


* Sam Liddicott wrote, On 01/07/09 14:54:
> I'm coding the mappings between the different fileinfo levels.
>
> Samba advertises CAP_W2K_SMBS, but may proxy to a server which does not.
> I will have advertised to the client that this information will be
> available so the Samba proxy will have to map the clients higher
> "passthrough" >1000 infolevels to the lower levels as it proxies, but
> apart from RAW_FILEINFO_NETWORK_OPEN_INFORMATION the rest require
> information that I can't be had from the CAP_W2K_SMBS non server.
>   
pvfs_qfileinfo.c gave tips on how to fake return values.

Sam


More information about the samba-technical mailing list