FS#25774 - Can not connect to samba-3.6.0-4-x86_64

Attached to Project: Arch Linux
Opened by tom (archtom) - Friday, 26 August 2011, 15:47 GMT
Last edited by Ionut Biru (wonder) - Sunday, 28 August 2011, 09:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
after updating to samba-3.6.0-4-x86_64 I can not connect to the server anymore. I´m using OS X as client. It asks for the password, presents the different shares to choose from and stops connecting with the message: Please contact your admin.

If I go back to samba samba-3.6.0-1-x86_64 everything works well!

Additional info:
* package version(s)
samba-3.6.0-4-x86_64

* config and/or log files etc.
attached smb.conf

Steps to reproduce:
see description
   smb.conf (11.3 KiB)
This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 28 August 2011, 09:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  samba 3.6.0-7
Comment by tom (archtom) - Friday, 26 August 2011, 16:35 GMT
I tried to connect from a windows client, doesn`t work either...
Comment by Jakob Matthes (jakobm) - Friday, 26 August 2011, 16:59 GMT
Is there anything useful in the samba server logfiles?
Can you connect from a linux box and/or from the server itself?
Any possibilities to make your OS X more verbose, or were there any helpful messages from the Windows client?
Comment by tom (archtom) - Friday, 26 August 2011, 17:46 GMT
What logfile would be helpful?
What exactly would I have to do to test if I can connect from the server itself? I´m on an lxde desktop. Never did that.
The OS X console output says:

26.08.11 19:44:12,000 kernel: smb_ntstatus_error_to_errno: Couldn't map ntstatus (0xc0000225) to errno returning EIO
26.08.11 19:44:15,543 NetAuthSysAgent: checkForDfsReferral: mounting dfs url failed, syserr = Input/output error
26.08.11 19:44:15,543 NetAuthSysAgent: smb_mount: mount failed to 192.168.1.205/mfs_arch, syserr = Input/output error

Hope that helps.

Have to leave now. If you need anything else, just let me know. Will get back to you tomorrow morning ;)

Thanks
Comment by Ionut Biru (wonder) - Friday, 26 August 2011, 19:49 GMT
i have signed off 3.6.0-3 but now 3.6.0-4 is busted.

also i noticed that smbclient returns some errors, they are in 3.6.0-3 as well

smbclient -L localhost
Enter ioni's password:
Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules
Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules
Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules
Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules
Comment by Ionut Biru (wonder) - Saturday, 27 August 2011, 12:04 GMT
samba works again with 3.6.0-5
Comment by tom (archtom) - Saturday, 27 August 2011, 12:38 GMT
new test with 3.6.0-5:
no, it doesn`t work, neither connecting from mac nor from win7! Old error messages persisting unchanged, tested on virtualbox and real machine!

additionally it shows a new problem for the client when connecting from localhost, so the connection can not be tested from linux:
smbclient --user=tom -L localhost
smbclient: error while loading shared libraries: libsmb/libsmbclient.so.0: cannot open shared object file: No such file or directory
Comment by Jakob Matthes (jakobm) - Saturday, 27 August 2011, 12:42 GMT
There is some bad symlinking in /usr/lib/libsmb:
libsmbclient.so -> /usr/lib/libsmb/libsmbclient.so.0
libsmbclient.so.0 -> libsmbclient.so.0
Comment by Tobias Powalowski (tpowa) - Saturday, 27 August 2011, 16:06 GMT
The symlinks should be fixed in -6
Comment by lorim (lorim) - Saturday, 27 August 2011, 16:36 GMT
doing a ls /var I've noticed log.nmbd, log.smbd and they seems in the wrong place.
also `rc.d start samba` spawns these files in /var (I'm unsure if they should go there or not): account_policy.tdb group_mapping.tdb registry.tdb share_info.tdb
Comment by Ionut Biru (wonder) - Saturday, 27 August 2011, 16:38 GMT
i have copies of *.tdb files in /var/lib/samba/
Comment by Jakob Matthes (jakobm) - Saturday, 27 August 2011, 17:24 GMT
created by smbd:
/var/account_policy.tdb
/var/group_mapping.tdb
/var/log.smbd
/var/registry.tdb
/var/share_info.tdb
by nmbd:
/var/log.nmbd
by smbd or nmbd:
/var/wins.dat
/var/wins.tdb
(their mtime matches the time of smbd/nmbd invocation)

If I override build configuration with smbd --statedir <path> only log.{smbd,nmbd} and wins.{dat,tdb} are created in /var.
I can't find any ./configure option change of the latest pkgrels which could cause that, but that build system looks quiet complex.
Comment by Michiel Broek (mbroek) - Saturday, 27 August 2011, 18:46 GMT
Still doesn't work with 3.6.0-6.
When I disable the lines "vfs objects = recycle" on all shares it works again. Some log messages:

Aug 27 20:28:22 lx02 smbd[7680]: [2011/08/27 20:28:22.030636, 0] ../smbd/vfs.c:173(vfs_init_custom)
Aug 27 20:28:22 lx02 smbd[7680]: error probing vfs module 'recycle': NT_STATUS_UNSUCCESSFUL
Aug 27 20:28:22 lx02 smbd[7680]: [2011/08/27 20:28:22.030894, 0] ../smbd/vfs.c:315(smbd_vfs_init)
Aug 27 20:28:22 lx02 smbd[7680]: smbd_vfs_init: vfs_init_custom failed for recycle
Aug 27 20:28:22 lx02 smbd[7680]: [2011/08/27 20:28:22.031034, 0] ../smbd/service.c:877(make_connection_snum)
Aug 27 20:28:22 lx02 smbd[7680]: vfs_init failed for service media
Aug 27 20:28:22 lx02 smbd[7680]: [2011/08/27 20:28:22.036065, 0] ../smbd/vfs.c:173(vfs_init_custom)
Aug 27 20:28:22 lx02 smbd[7680]: error probing vfs module 'recycle': NT_STATUS_UNSUCCESSFUL
Aug 27 20:28:22 lx02 smbd[7680]: [2011/08/27 20:28:22.036793, 0] ../smbd/vfs.c:315(smbd_vfs_init)
Aug 27 20:28:22 lx02 smbd[7680]: smbd_vfs_init: vfs_init_custom failed for recycle
Aug 27 20:28:22 lx02 smbd[7680]: [2011/08/27 20:28:22.036954, 0] ../smbd/service.c:877(make_connection_snum)
Aug 27 20:28:22 lx02 smbd[7680]: vfs_init failed for service media
Comment by tom (archtom) - Sunday, 28 August 2011, 08:53 GMT
working again with 3.6.0-7, even with recycle enabled!

thanks to everyone who helped ;) great and fast work!

Loading...