[Bug 278933] [NEW] Guest samba share stops working when winbind is installed

rivode bugs-launchpad-net.rivode at spamgourmet.com
Mon Oct 6 08:25:51 BST 2008


Public bug reported:

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

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Guest samba share stops working when winbind is installed
https://bugs.launchpad.net/bugs/278933
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list