How to get the architecture of the client

Xia, Arandar Arandar.xia at
Tue May 19 02:08:49 GMT 2009

Can anybody tell me the correct usage of variable substitutions in the configuration file?
And how to get what the client is in the VFS module?

> Hello,
> I am developing a vfs module of samba, and want to get what the client is running on in the vfs module.
> I find that %a in the configuration file is a substitution for the architecture of the remote machine, and I want to pass it into the vfs module like:
> vfs objects = myvfs:client
>           client: name = %a
> But what I get in the vfs module is "%a" not the architecture of the client.
> What is wrong and how to get what I want in the vfs module?

// Zeyi

More information about the samba-technical mailing list