[Samba] Upgrading Samba in a Multi DC environment
chrisa at acs-info.co.uk
Sat Sep 6 13:55:26 MDT 2014
Have also made an attempt at migrating to BIND9_DLZ. I have bind setup
nicely but when I run the upgrade command I get this:
root at ess-dc-001:/var/named/master# /usr/local/samba/sbin/samba_upgradedns
Reading domain information
Traceback (most recent call last):
File "/usr/local/samba/sbin/samba_upgradedns", line 261, in <module>
paths, lp.configfile, lp)
line 319, in find_provision_key_parameters
dns_admins_sid = get_dnsadmins_sid(samdb, names.domaindn)
line 63, in get_dnsadmins_sid
_ldb.LdbError: (32, 'No such Base DN:
Seems to be complaining that DnsAdmins doesn't exist, anyone seen this
On 6 September 2014 20:18, Chris Alavoine <chrisa at acs-info.co.uk> wrote:
> I attempted to upgrade my main FSMO roles DC to 4.1.11 and samba refused
> to start after the upgrade. This was in the logs:
> [2014/09/06 14:11:44.828602, 0]
> ldb: A transaction is still active in ldb context [0x7f9ec5ae5230] on
> This was the only thing that looked like an error.
> I use NSLCD which refused to get passwd or group from the DC after the
> ADUC / DNS / browsing shares was all broken.
> In the end I reconfigured back to 4.1.5 and all was well again (thank
> I have tried running "samba-tool dbcheck --cross-ncs" in the past but
> this took days to complete and ended up crashing the DC.
> Any ideas?
> On 22 August 2014 16:18, Chris Alavoine <chrisa at acs-info.co.uk> wrote:
>> Hi Marc,
>> Thanks for the comparison.
>> The 5 DC's are spread around the globe as well so there will be some
>> latency issues involved as well I guess.
>> On 22 August 2014 16:14, Marc Muehlfeld <mmuehlfeld at samba.org> wrote:
>>> Hello Chris,
>>> Am 22.08.2014 12:10, schrieb Chris Alavoine:
>>> > After almost 2 hours the following appeared:
>>> > Checking 387092 objects
>>> > I guess that could take a while.
>>> We haven't collected average values yet.
>>> In our production environment we're having about 4000 objects and it
>>> takes about 45-60 sec. So yours sound normal in comparison. :-)
>> ACS (Alavoine Computer Services Ltd)
>> Chris Alavoine
>> mob +44 (0)7724 710 730
> ACS (Alavoine Computer Services Ltd)
> Chris Alavoine
> mob +44 (0)7724 710 730
ACS (Alavoine Computer Services Ltd)
mob +44 (0)7724 710 730
More information about the samba