You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version 4.8, samba no longer has a fallback option to contact the domain controller.
This means that there must be a valid winbind session before samba can be started, otherwise it cannot be started.
Samba::Option <| |> -> Exec['Join Domain'] -> Service['SambaSmb'] ->
Before a join can be done(via net ads), the Samba configuration file must first be created.
Otherwise you will receive an error message from Winbind.
This rule ensures that everything is executed in the correct order
require => Package['SambaClassic'], ->
Service ['SambaSmb'] removed. Otherwise the items will not be executed in the correct order.
Without a net ads join:
-- Logs begin at Wed 2019-06-12 15:08:26 CEST, end at Thu 2019-06-13 13:07:35 CEST. --
Jun 13 13:07:35 systemd[1]: Starting Samba SMB Daemon...
Jun 13 13:07:35 smbd[58501]: [2019/06/13 13:07:35.297661, 0] ../source3/auth/auth_util.c:1372(make_new_session_info_guest)
Jun 13 13:07:35 smbd[58501]: create_local_token failed: NT_STATUS_NO_MEMORY
Jun 13 13:07:35 smbd[58501]: [2019/06/13 13:07:35.297749, 0] ../source3/smbd/server.c:1993(main)
Jun 13 13:07:35 smbd[58501]: ERROR: failed to setup guest info.
Jun 13 13:07:35 systemd[1]: smb.service: main process exited, code=exited, status=255/n/a
Jun 13 13:07:35 systemd[1]: Failed to start Samba SMB Daemon.
Jun 13 13:07:35 systemd[1]: Unit smb.service entered failed state.
Jun 13 13:07:35 systemd[1]: smb.service failed.
When the Samba configuration file is not present before the net ads join is done:
Notice: /Stage[main]/Samba::Classic/Exec[Join Domain]/returns: Invalid configuration. Exiting....
Notice: /Stage[main]/Samba::Classic/Exec[Join Domain]/returns: Host is not configured as a member server.
Notice: /Stage[main]/Samba::Classic/Exec[Join Domain]/returns: Failed to join domain: This operation is only allowed for the PDC of the domain.
The text was updated successfully, but these errors were encountered:
tynsh
added a commit
to tynsh/puppet-samba
that referenced
this issue
Sep 25, 2019
Since version 4.8, samba no longer has a fallback option to contact the domain controller.
This means that there must be a valid winbind session before samba can be started, otherwise it cannot be started.
Order:
Modifications:
Before a join can be done(via net ads), the Samba configuration file must first be created.
Otherwise you will receive an error message from Winbind.
This rule ensures that everything is executed in the correct order
Service ['SambaSmb'] removed. Otherwise the items will not be executed in the correct order.
Without a net ads join:
When the Samba configuration file is not present before the net ads join is done:
The text was updated successfully, but these errors were encountered: