search for: default_vfs_op

Displaying 4 results from an estimated 4 matches for "default_vfs_op".

Did you mean: default_vfs_ops
2003 Apr 01
1
VFS module programming
...quot; line to my smb.conf. I took the audit.so example. Result: It does not work! I can't access the share. I enabled logging and found out that there is an error message, which says that samba could not load the VFS module, because there is something like an unresolved symbol called "default_vfs_ops". default_vfs_ops is declared as "extern" in audit.c. And I found the "real" decleration of "default_vfs_ops" in the samba source files. So what? Why isn't it found by the loader? It IS there! What's wrong? Thank you, Joachim
2004 Jun 23
1
Skel VFS module crashes smbd when we have no ACL support in samba v2.2.9.
Hello! I have compiled samba v2.2.9 without ACL support and when I test skel vfs module I have encountered internal errors (SIGSEGV in child processes). Consider the file source/samba/vfs.c: struct vfs_ops default_vfs_ops = { ... /* POSIX ACL operations. */ #if defined(HAVE_NO_ACLS) NULL, NULL, #else vfswrap_chmod_acl, vfswrap_fchmod_acl, #endif ... }; As we may see if we have not ACL support, chmod_acl and fchmod_acl structure members became NULL. But skel VFS module lacks...
2004 Feb 17
0
VFS module programmieren
...ndle_struct *handle, " as first parameter to all vfs operation functions. e.g. example_connect(connection_struct *conn, const char *service, const char *user); -> example_connect(vfs_handle_struct *handle, connection_struct *conn, const char *service, const char *user); 2.. Replace "default_vfs_ops." with "smb_vfs_next_". e.g. default_vfs_ops.connect(conn, service, user); -> smb_vfs_next_connect(conn, service, user); 3.. Uppercase all "smb_vfs_next_*" functions. e.g. smb_vfs_next_connect(conn, service, user); -> SMB_VFS_NEXT_CONNECT(conn, service, user);...
2003 Dec 01
0
No subject
...in audit.c (and skel.c). After doing this, I had to modify the code in vfs.c to call vfs_init_mod rather then vfs_init. I have included the modifications to vfs.c at the end of the email. What I was unable to work around was the shared libraries verses static libraries issue and audit.so finding default_vfs_ops. In reading the Samba mailing list archives, I found someone pointing out a modification that can be made to Makefile.in where you add -rdynamic. The downside is, that if my understanding is correct, this is only compatible with Linux or other open UNIX-Like systems. Bill Miller William234@aol....