the VFS operations and none of the VFS operations respectively.
</para>
+ <para>If an unknown operation name is used (for example an operation name
+ is miss-spelled), the module will fail to load and clients will
+ be refused connections to a share using this module.
+ </para>
+
<para><command>vfs_full_audit</command> records operations in fixed
format consisting of fields separated by '|' characters. The
format is: </para>
pd->success_ops = init_bitmap(
pd, lp_parm_string_list(SNUM(handle->conn), "full_audit",
"success", none));
+ if (pd->success_ops == NULL) {
+ DBG_ERR("Invalid success operations list. Failing connect\n");
+ SMB_VFS_NEXT_DISCONNECT(handle);
+ return -1;
+ }
pd->failure_ops = init_bitmap(
pd, lp_parm_string_list(SNUM(handle->conn), "full_audit",
"failure", none));
+ if (pd->failure_ops == NULL) {
+ DBG_ERR("Invalid failure operations list. Failing connect\n");
+ SMB_VFS_NEXT_DISCONNECT(handle);
+ return -1;
+ }
/* Store the private data. */
SMB_VFS_HANDLE_SET_DATA(handle, pd, NULL,