Bug 14414 - AD Domain restore can attempt to contact a SAMR server
Summary: AD Domain restore can attempt to contact a SAMR server
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.12.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jo Sutton
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-17 21:15 UTC by Andrew Bartlett
Modified: 2021-03-12 18:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2020-06-17 21:15:32 UTC
If the password set for the local DC machine account fails for any reason, an incorrect use of the python 'try: / except: / pass' syntax means that for any error a SAMR password set is attempted, not just the one given by windows 2000.
Comment 1 Andrew Bartlett 2020-06-17 21:15:52 UTC
(In this case there is no SAMR server to set the password on, so it fails)