[Bug 1806035] Re: smbd fails to start in default config if winbind is running

Andreas Hasenack andreas at canonical.com
Fri Nov 30 13:00:38 UTC 2018


>From https://docs.fedoraproject.org/en-US/fedora/f29/release-notes/sysadmin/File_Servers/:
"""
Finally, Samba 4.9 differentiates between anonymous and guest access via SMB protocol. A side effect of this is that it is now required to have a mapping for BUILTIN\Guests group. The mapping can be provided automatically if a default identity backend allows to create entries on demand. Alternatively, net utility can be used to provide a group mapping for BUILTIN\Guests via

net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin
"""

(it would be "nogroup" in ubuntu/debian)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1806035

Title:
  smbd fails to start in default config if winbind is running

Status in samba package in Ubuntu:
  New
Status in samba package in Debian:
  Unknown

Bug description:
  In disco, with samba 4.9.x, smbd fails to start in the default
  configuration if winbind is already running:

  sudo apt install samba winbind
  ...
  invoke-rc.d: initscript smbd, action "start" failed.
  ...
  Errors were encountered while processing:
   samba
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  The log shows:
  [2018/11/30 12:56:04.989473,  0] ../source3/auth/auth_util.c:1382(make_new_session_info_guest)
    create_local_token failed: NT_STATUS_ACCESS_DENIED
  [2018/11/30 12:56:04.990195,  0] ../source3/smbd/server.c:2000(main)
    ERROR: failed to setup guest info.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1806035/+subscriptions



More information about the foundations-bugs mailing list