[Samba] SLES9 Module '/usr/lib/samba/vfs/audit.so' loaded, Can't find a vfs module [/usr/lib/samba/vfs/audit.so]

daniel.jarboe at custserv.com daniel.jarboe at custserv.com
Tue Feb 1 13:19:55 GMT 2005


Any ideas why a vfs module loads successfully then can't be found? 

[2005/01/30 03:52:08, 5] lib/util_seaccess.c:se_access_check(309)
  se_access_check: access (2) granted.
[2005/01/30 03:52:08, 3] smbd/vfs.c:vfs_init_default(203)
  Initialising default vfs hooks
[2005/01/30 03:52:08, 3] smbd/vfs.c:vfs_init_custom(229)
  Initialising custom vfs hooks from [/usr/lib/samba/vfs/audit.so]
[2005/01/30 03:52:08, 5] lib/module.c:smb_probe_module(101)
  Probing module '/usr/lib/samba/vfs/audit.so'
[2005/01/30 03:52:08, 5] smbd/vfs.c:smb_register_vfs(193)
  Successfully added vfs backend 'audit'
[2005/01/30 03:52:08, 2] lib/module.c:do_smb_load_module(63)
  Module '/usr/lib/samba/vfs/audit.so' loaded
[2005/01/30 03:52:08, 0] smbd/vfs.c:vfs_init_custom(256)
  Can't find a vfs module [/usr/lib/samba/vfs/audit.so]
[2005/01/30 03:52:08, 0] smbd/vfs.c:smbd_vfs_init(319)
  smbd_vfs_init: vfs_init_custom failed for /usr/lib/samba/vfs/audit.so
[2005/01/30 03:52:08, 0] smbd/service.c:make_connection_snum(516)
  vfs_init failed for service danvfs
[2005/01/30 03:52:08, 3] smbd/error.c:error_packet(129)
  error packet at smbd/reply.c(416) cmd=117 (SMBtconX)
NT_STATUS_BAD_NETWORK_NAME

The share I'm connected to is defined thusly in smb.conf:

[danvfs]
        browseable = no
        path = /var/samba/danvfs
        valid users= TCS_MAIN_DOM\jarboed
        read only = no
        vfs object = /usr/lib/samba/vfs/audit.so


here is the global section:

[global]
        workgroup = TCS_MAIN_DOM
        netbios name = linfs3
        server string = Samba Server on linfs3
        interfaces = eth0 127.0.0.1/24
        bind interfaces only = yes
        security = DOMAIN
        encrypt passwords = Yes
        password server = *
        username map = /etc/samba/smbusers
        log level = 2
        max log size = 50   # 50K
        log file = /var/samba/log/%m.log
        mangling method = hash2
        preferred master = No
        domain master = No
        local master = Yes
        dns proxy = No
        wins server = 10.176.157.10 172.16.23.13
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        winbind enum users = yes
        winbind enum groups = yes
        winbind use default domain = No
        oplocks = No
        level2 oplocks = No
        kernel oplocks = No
        guest account = nobody
        load printers = no


I had increased log level to 5 for the log snip above.

dan at linfs3:/usr/lib/samba/vfs> ls
audit.so          extd_audit.so  readonly.so          skel_opaque.so
cap.so            fake_perms.so  recycle.so
skel_transparent.so
default_quota.so  full_audit.so  shadow_copy.so
expand_msdfs.so   netatalk.so    shadow_copy_test.so
dan at linfs3:/usr/lib/samba/vfs> rpm -qf audit.so
samba-3.0.9-2.1.5
dan at linfs3:/usr/lib/samba/vfs> rpm -V samba
S.?....T c /etc/samba/smbpasswd

SLES9 with 2.6 kernel (kernel-s390-2.6.5-7.111.19)

Thanks for any ideas,
~ Daniel



More information about the samba mailing list