Bug 3038 - i386, OpenBSD 3.7, samba 3.0.13 cannot load vfs object
i386, OpenBSD 3.7, samba 3.0.13 cannot load vfs object
Status: RESOLVED WONTFIX
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.13
x86 OpenBSD
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-24 23:07 UTC by vyp08
Modified: 2007-05-14 22:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vyp08 2005-08-24 23:07:06 UTC
Good day.
I'm have:                                                                                           
  Intel Celeron 2600, 1G RAM,
  OpenBSD 3.7 i386 kernel GENERIC,
  samba 3.0.13 (make from ports:Makefile,v 1.54 2005/08/16 13:22:51 espie) with 
FLAVOR=ldap.
Problem:
1. smb.conf:
[pub]
	path = /u/pub
	create mode = 644
	directory mode = 755
	valid users = +&users
	vfs objects = recycle
	recycle: repository = .recycle/%u
	recycle: version = true
	recycle: touch = true
	recycle: keeptree = true
	recycle: noversion = *.doc|*.xls|*.ppt
	recycle: exclude = *.tmp *.temp *.cache
	recycle: maxsize = 0
...(skip)...

2. Start samba ok.

3. From client's machine run "smbclient //obsd37/pub", enter password and see:
Domain=[OBSD37] OS=[Unix] Server=[Samba 3.0.13]
tree connect failed: Call returned zero bytes (EOF)

4. Go to /var/log/samba/samba.client.log:
[2005/08/23 08:34:52, 2]
/usr/ports/net/samba/w-samba-3.0.13p0-ldap/samba-3.0.13/source/lib/smbldap.c:
smbldap_open_connection(692)
  smbldap_open_connection: connection opened
[2005/08/23 08:34:52, 2]
/usr/ports/net/samba/w-samba-3.0.13p0-ldap/samba-3.0.13/source/passdb/pdb_ldap.c:
init_sam_from_ldap(499)
  init_sam_from_ldap: Entry found for user: user1
[2005/08/23 08:34:52, 2]
/usr/ports/net/samba/w-samba-3.0.13p0-ldap/samba-3.0.13/source/auth/auth.c:
check_ntlm_password(305)
  check_ntlm_password:  authentication for user [user1] -> [user1] -> [user1] succeeded
[2005/08/23 08:34:52, 2]
/usr/ports/net/samba/w-samba-3.0.13p0-ldap/samba-3.0.13/source/lib/access.c:
check_access(324)
  Allowed connection from  (192.168.0.72)
/usr/local/libexec/smbd:/usr/local/lib/samba/vfs/recycle.so: undefined symbol 
'DEBUGLEVEL_CLASS_ISSET'
/usr/local/libexec/smbd: /usr/local/lib/samba/vfs/recycle.so: can't resolve reference 
'DEBUGLEVEL_CLASS_ISSET'
/usr/local/libexec/smbd:/usr/local/lib/samba/vfs/recycle.so: undefined symbol 
'DEBUGLEVEL_CLASS'
/usr/local/libexec/smbd: /usr/local/lib/samba/vfs/recycle.so: can't resolve reference 
'DEBUGLEVEL_CLASS'
/usr/local/libexec/smbd:/usr/local/lib/samba/vfs/recycle.so: undefined symbol 'smb_register_vfs'
lazy binding failed!
[2005/08/23 08:34:52, 0]
/usr/ports/net/samba/w-samba-3.0.13p0-ldap/samba-3.0.13/source/lib/fault.c:fault_report(36)
  ===============================================================
[2005/08/23 08:34:52, 0]
/usr/ports/net/samba/w-samba-3.0.13p0-ldap/samba-3.0.13/source/lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 9881 (3.0.13)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/08/23 08:34:52, 0]
/usr/ports/net/samba/w-samba-3.0.13p0-ldap/samba-3.0.13/source/lib/fault.c:fault_report(39)
  ===============================================================
[2005/08/23 08:34:52, 0]
/usr/ports/net/samba/w-samba-3.0.13p0-ldap/samba-3.0.13/source/lib/util.c:smb_panic2(1495)
  PANIC: internal error

5. Build samba by hand:
	./configure
	make
	make modules
	make torture

6. Run vfstest and try enter command
	"load /usr/src/samba-3.0.13/source/bin/readonly.so":
vfstest $> load /usr/src/samba-3.0.13/source/bin/recycle.so
./vfstest:/usr/src/samba-3.0.13/source/bin/recycle.so: undefined symbol 
'DEBUGLEVEL_CLASS_ISSET'
./vfstest: /usr/src/samba-3.0.13/source/bin/recycle.so: can't resolve reference 
'DEBUGLEVEL_CLASS_ISSET'
./vfstest:/usr/src/samba-3.0.13/source/bin/recycle.so: undefined symbol 'DEBUGLEVEL_CLASS'
./vfstest: /usr/src/samba-3.0.13/source/bin/recycle.so: can't resolve reference 
'DEBUGLEVEL_CLASS'
./vfstest:/usr/src/samba-3.0.13/source/bin/recycle.so: undefined symbol 'smb_register_vfs'
lazy binding failed!
Segmentation fault (core dumped)

7. In my /var/run/ld.so.hints was not "libsmbclient.so".
	I run:
	cd /usr/local/lib
	ln -s samba/libsmbclient.so libsmbclient.so.0
	ldconfig /usr/local/lib
	Then libsmbclient.so.0 appear in /var/run/ld.so.hints.
	Run vfstest and again error.

8. Search in Google - no results.

9. What i do wrong?

Thanks
Comment 1 James Peach 2007-05-14 22:58:35 UTC
After 2 years, I don't think that there's any help forthcoming on this one. Sorry.