Bug 14669 - Backup using samba-tool domain backup requires ridNextRid on the source DC
Summary: Backup using samba-tool domain backup requires ridNextRid on the source DC
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.14.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Joseph Sutton
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-12 18:26 UTC by Andrew Bartlett
Modified: 2021-03-12 18:26 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 2021-03-12 18:26:06 UTC
The samba-tool domain backup code requires that the source domain controller already have a ridNextRid attribute, which is currently only populated for one the first user is created on that DC.

The algorithm for creating the ridNextRid is known, and the dbcheck code (python/samba/dbchecker.py) already has that code.  If this was shared, a 'virtual' ridNextRid could be calculated, removing this restriction.