[Samba] How to Customize VFS Module Error Message?

Eric Liu eric.liu at uniquesoft.com
Tue Dec 18 03:32:12 MST 2012

Hi Folks,

I am writing a VFS module. In certain case, I need to set the error number
to NT_STATUS_WRONG_PASSWORD. At the client side, I wish I could see "Wrong
password" as error message. However, what I have seen is "No such device or
address". They look irrelevant at all.
So, here is my question. In VFS module, is there any way to customize the
error message seen at client side? So that the message can actually reflect
what has happened in VFS module.


More information about the samba mailing list