[Samba] Problem with VFS audit and recycle (fwd)

William R. Knox wknox at mitre.org
Tue May 18 12:51:39 GMT 2004

This problem continues under 3.0.4 on Solaris 8 - attempting to use the
"vfs object" parameter in a share prevents access to the share and results
in the following in the log files:

[2004/05/10 16:04:57, 0] lib/module.c:do_smb_load_module(57)
  Error trying to resolve symbol 'init_module' in
/usr/local/lib/vfs/audit.so: ld.so.1: /usr/local/sbin/smbd: fatal:
_nss_files_netgroup_constr: can't find symbol
[2004/05/10 16:04:57, 0] smbd/vfs.c:vfs_init_custom(256)
  Can't find a vfs module [audit]
[2004/05/10 16:04:57, 0] smbd/vfs.c:smbd_vfs_init(319)
  smbd_vfs_init: vfs_init_custom failed for audit
[2004/05/10 16:04:57, 0] smbd/service.c:make_connection_snum(502)
  vfs_init failed for service Admin area

Access to the other shares remains unaffected. This is currently happening
with ANY module that I have used, not just audit. I would be happy to
perform any stack trace that is required - however, smbd does not appear
to be panicking, so I am unsure exactly how to proceed with that.

			Bill Knox
			Lead Operating Systems Programmer/Analyst
			The MITRE Corporation

---------- Forwarded message ----------
Date: Wed, 08 Oct 2003 13:56:18 +0200
From: Giovanni Romanenghi <giovanni at sorint.it>
To: samba at lists.samba.org
Subject: [Samba] Problem with VFS  audit e recycle

I have compiled samba 3.0 on solaris 8 with default options. It's ok.
I have problem with the parameters vfs objects.
This is my smb.conf
  Global parameters
         workgroup = SAMBATESTPDC
         netbios name = samba3sun
         preferred master = Yes
         domain master = Yes
         wins support = Yes
         domain logons = yes
         local master = yes
         encrypt passwords = yes
         security = user
         ldap suffix = o=arcafondi,c=it
         ldap machine suffix = ou=people,o=samba,c=it
         ldap user suffix = ou=people,o=samba,c=it
         ldap group suffix = ou=group
         ldap admin dn = uid=sambauser,cn=config
         ldap ssl = no
         passdb backend =  ldapsam:ldap:// guest
         ldap passwd sync = yes
         logon home =
         logon path =
         admin users = @helpdesk

         path = /samba/netlogon
         comment = "Netlogon"

         comment = Cartelle Personali
         path = /sambapriv
         read only = No
         create mask = 0777
         directory mask = 0777

         comment = Cartelle Condivise dal gruppo
         path = /sambapub
         read only = No
         create mask = 0777
         directory mask = 0777
         vfs object = recycle
         recycle: repository = .recycle
         recycle: version=True
         recycle: touch=True
         recycle: keeptree=True
         recycle: noversion = *.doc|*.xls|*.ppt
         recycle: exclude = *.tmp *.temp *.cache
         recycle: maxsize = 0

With the home share i don't have a problem . With the test share I have
this error on the file log.smbd
Error trying to resolve symbol 'init_module' in
/sambabin/samba/lib/vfs/recycle.so: ld.so.1: ./smbd: fatal:
_nss_files_netgroup_constr: can't find symbol
[2003/10/08 12:37:22, 0] smbd/vfs.c:vfs_init_custom(254)
   Can't find a vfs module [recycle]
[2003/10/08 12:37:22, 0] smbd/vfs.c:smbd_vfs_init(317)
   smbd_vfs_init: vfs_init_custom failed for recycle

Any ideas?
Bye Giovanni
P.S. excume for my english....

To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list