See the impending patch. Autobuild found it but it would never break typically, where the database has the options value. /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: attempt_live_connections=opts.attempt_live_connections) /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: File "bin/python/samba/kcc/__init__.py", line 2641, in run /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: self.intrasite() /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: File "bin/python/samba/kcc/__init__.py", line 2410, in intrasite /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: detect_stale) /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: File "bin/python/samba/kcc/__init__.py", line 2093, in construct_intrasite_graph /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: if gc_only and not dc_s.is_gc(): /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: File "bin/python/samba/kcc/kcc_utils.py", line 622, in is_gc /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: if (self.options & dsdb.DS_NTDSDSA_OPT_IS_GC) != 0: /memdisk/autobuild/fl/b162967/samba/source4/scripting/bin/samba_kcc: AttributeError: 'DirectoryServiceAgent' object has no attribute 'options' ../source4/dsdb/kcc/kcc_periodic.c:646: Failed samba_kcc - NT_STATUS_ACCESS_DENIED
Created attachment 12363 [details] the patch
Created attachment 12400 [details] backport for 4.5
Assigned to Karolin for 4.5
Pushed to autobuild-v4-5-test.
Pushed to v4-5-test.