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

William R. Knox wknox at mitre.org
Fri May 21 14:13:33 GMT 2004


I have included a level 10 debug of the vicinity of the failure in the
debug log - if anyone would like more detail, I would be happy to provide
it. Just so as to help to rule out my environment or how I built samba, is
there anyone using the "vfs objects" parameter successfully on Solaris 8?
Please feel free to respond to me individually so as to not flood the list
if I am being a bonehead and this is a problem that only Giovanni and I
are having. Thanks.

[2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_default(203)
  Initialising default vfs hooks
[2004/05/20 14:52:50, 3] smbd/vfs.c:vfs_init_custom(229)
  Initialising custom vfs hooks from [audit]
[2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(101)
  Probing module 'audit'
[2004/05/20 14:52:50, 5] lib/module.c:smb_probe_module(112)
  Probing module 'audit': Trying to load from /usr/local/lib/vfs/audit.so
[2004/05/20 14:52:50, 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/20 14:52:50, 0] smbd/vfs.c:vfs_init_custom(256)
  Can't find a vfs module [audit]
[2004/05/20 14:52:50, 0] smbd/vfs.c:smbd_vfs_init(319)
  smbd_vfs_init: vfs_init_custom failed for audit
[2004/05/20 14:52:50, 0] smbd/service.c:make_connection_snum(502)
  vfs_init failed for service Windows software

			Bill Knox
			Lead Operating Systems Programmer/Analyst
			The MITRE Corporation

On Tue, 18 May 2004, William R. Knox wrote:

> Date: Tue, 18 May 2004 08:51:39 -0400 (EDT)
> From: William R. Knox <wknox at mitre.org>
> To: samba at lists.samba.org
> Subject: [Samba] Problem with VFS audit and recycle (fwd)
>
> 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
> [global]
>          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://10.10.5.160/ guest
>          ldap passwd sync = yes
>          logon home =
>          logon path =
>          admin users = @helpdesk
>
> [netlogon]
>          path = /samba/netlogon
>          comment = "Netlogon"
>
> [home]
>          comment = Cartelle Personali
>          path = /sambapriv
>          read only = No
>          create mask = 0777
>          directory mask = 0777
>
> [test]
>          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
> --
> 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