Bug 47637 - samba-ad-dc restart during server password change breaks DRS replication (4.2)
samba-ad-dc restart during server password change breaks DRS replication (4.2)
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-4-errata
Assigned To: Arvid Requate
Felix Botner
https://bepasty.knut.univention.de/hi...
:
Depends on: 47634
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-23 12:14 CEST by Arvid Requate
Modified: 2018-08-23 16:57 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.571
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018081621000464, 2018080121000518
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2018-08-23 12:14:25 CEST
samba-ad-dc restart during server password change breaks DRS replication. We need to do a /etc/init.d/samba restart instead.




+++ This bug was initially created as a clone of Bug #47634 +++

Restarting only samba-ad-dc breaks drs replication in Samba 4.6.15 (UCS 4.2)

For example after

  /etc/init.d/samba-ad-dc restart


the command "samba-tool drs showrepl" fails:

ERROR(runtime): DsReplicaGetInfo of type 0 failed - (-1073610699, 'The operation cannot be performed.')

The same happens for restarts with "systemctl" and "service".


After a "/etc/init.d/samba restart" it works again.
Comment 1 Arvid Requate univentionstaff 2018-08-23 12:58:02 CEST
a0669356b4 | after a server password change restart all of samba,
             not just the AD/DC component
621a4f1bd2 | Advisory
Comment 2 Felix Botner univentionstaff 2018-08-23 14:18:20 CEST
OK - univention-samba4
OK - ucs-test samba4
OK - yaml
Comment 3 Felix Botner univentionstaff 2018-08-23 14:31:18 CEST
seems that invoke-rc.d samba restart does nothing, use /etc/init.d/samba restart instead
Comment 4 Arvid Requate univentionstaff 2018-08-23 15:29:57 CEST
06019a9966 | run /etc/init.d/samba instead of "service samba"
             and "invoke-rc.d samba"
9161f9ef41 | Advisory
Comment 5 Felix Botner univentionstaff 2018-08-23 16:25:18 CEST
ok
Comment 6 Arvid Requate univentionstaff 2018-08-23 16:57:18 CEST
<http://errata.software-univention.de/ucs/4.2/497.html>