Bug 1657553

Summary: Samba fails to start if winbind service is already running
Product: [Fedora] Fedora Reporter: Matt D. <codespunk+bugzilla.redhat>
Component: sambaAssignee: Guenther Deschner <gdeschner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: abokovoy, anoopcs, asn, gdeschner, jarrpa, lmohanty, madam, sbose, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-14 06:47:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matt D. 2018-12-09 23:46:07 UTC
Defaults, install samba and winbind. Works fine if samba is started first.

$ systemctl start winbind
$ systemctl start smb
Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xe" for details.

$ journalctl -xe
Dec 09 18:35:03 minedlands systemd[1]: Starting Samba SMB Daemon...
-- Subject: Unit smb.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smb.service has begun starting up.
Dec 09 18:35:03 minedlands smbd[19662]: [2018/12/09 18:35:03.063138,  0] ../lib/param/loadparm.c:784(lpcfg_map_parameter)
Dec 09 18:35:03 minedlands smbd[19662]:   Unknown parameter encountered: "ntln auth"
Dec 09 18:35:03 minedlands smbd[19662]: [2018/12/09 18:35:03.063313,  0] ../lib/param/loadparm.c:1810(lpcfg_do_global_parameter)
Dec 09 18:35:03 minedlands smbd[19662]:   Ignoring unknown parameter "ntln auth"
Dec 09 18:35:03 minedlands smbd[19662]: [2018/12/09 18:35:03.083184,  0] ../source3/auth/auth_util.c:1382(make_new_session_info_guest)
Dec 09 18:35:03 minedlands smbd[19662]:   create_local_token failed: NT_STATUS_ACCESS_DENIED
Dec 09 18:35:03 minedlands smbd[19662]: [2018/12/09 18:35:03.083306,  0] ../source3/smbd/server.c:2000(main)
Dec 09 18:35:03 minedlands smbd[19662]:   ERROR: failed to setup guest info.
Dec 09 18:35:03 minedlands systemd[1]: smb.service: Main process exited, code=exited, status=255/n/a
Dec 09 18:35:03 minedlands systemd[1]: smb.service: Failed with result 'exit-code'.
Dec 09 18:35:03 minedlands systemd[1]: Failed to start Samba SMB Daemon.
-- Subject: Unit smb.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smb.service has failed.
--
-- The result is failed.

Comment 1 Anoop C S 2018-12-14 06:47:36 UTC

*** This bug has been marked as a duplicate of bug 1648399 ***