netcmd: Better error message for backup with no RID pool
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 24 Jul 2019 02:17:06 +0000 (14:17 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 Jul 2019 07:07:01 +0000 (07:07 +0000)
commit9d2fd08249881702a4b4b881688d91576cc71ede
treea47a760a95cd5bdf70373b5f112d43df6eabbc64
parent6c691bf84e41b1edd3228c219f7a94e108795d28
netcmd: Better error message for backup with no RID pool

Add a better error message (and what to do about it) if the user tries
to back up a DC that hasn't initialized its RID pool yet.

Seems to be a fairly common problem hit by users.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14048
RN: Added more informative error message if the 'samba-tool domain
backup' command fails due to no RID pool being present on the DC.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jul 24 07:07:01 UTC 2019 on sn-devel-184
python/samba/netcmd/domain_backup.py