Guest samba share stops working when winbind is installed

Bug #278933 reported by rivode
4
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: samba

I have a Samba share configured to provide read/write access without authenticating. This worked fine until I installed Wine. I removed wine, and it worked fine again. I narrowed the offending package down to winbind.

The share is configured like this:

[rwshare]
path = /data/sharerw
read only = no
writeable = yes
guest only = yes
guest ok = yes
create mask = 0664
directory mask = 0775
force group = download

I also have a read-only share, which works fine regardless of whether winbind is installed:

[share]
comment = General share
path = /data/Share
read only = yes
guest only = yes
guest ok = yes

Upon trying to connect to the read-write share with an fstab entry, I get this on the (Debian) client:

Anonymous login successful
3505: tree connect failed: ERRHRD - ERRgeneral (General failure.)
SMB connection failed

and using smbclient //localhost/rwshare -U%:

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]
tree connect failed: NT_STATUS_NO_SUCH_GROUP

and this was in /var/log/samba/log.127.0.0.1:

[2008/10/06 17:48:25, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2008/10/06 17:48:25, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users
[2008/10/06 17:48:25, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2008/10/06 17:48:25, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users

and /var/log/samba/log.winbindd:

[2008/10/06 17:42:26, 1] nsswitch/winbindd.c:main(990)
  winbindd version 3.0.28a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/10/06 17:42:26, 0] nsswitch/winbindd_cache.c:initialize_winbindd_cache(2222)
  initialize_winbindd_cache: clearing cache and re-creating with version number 1

I couldn't see any other messages that might suggest a problem.

$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

$ for f in samba-common samba winbind; do apt-cache policy $f | head -2 ; done
samba-common:
  Installed: 3.0.28a-1ubuntu4.5
samba:
  Installed: 3.0.28a-1ubuntu4.5
winbind:
  Installed: 3.0.28a-1ubuntu4.5

Revision history for this message
rivode (bugs-launchpad-net-rivode) wrote :

This is probably the same as Bug #277327.

Revision history for this message
Thierry Carrez (ttx) wrote :

I fail to reproduce this. Same versions installed, same share config, I manage to access the share with or without winbind installed.

Here is what I did:
- Install samba, pushed share config to /etc/samba/smb.conf, restarted and checked I could access the share ok
- Install Wine, tried accessing the shares just after that : ok
- Restart samba, try access the shares : ok
- Reboot, try access the share : ok

I must be missing something, could you attach a minimal (but complete) smb.conf that allows you to reproduce the issue ? Did you configure any other file ?

Changed in samba:
status: New → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thierry, while I haven't recently tried to reproduce this, I was able to get test-samba.py from the qa-regression-testing scripts to fail with winbind installed. Please see bug #244411 for more information.

Revision history for this message
Thierry Carrez (ttx) wrote :

Yes, I reproduced it with the test script, that's why I marked this one as a duplicate. The version in intrepid seems fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.