samba_upgradedns issues on secondary DC

Michael Wood esiotrot at
Tue Apr 17 09:18:16 MDT 2012


On 17 April 2012 15:39, Daniele Dario <d.dario76 at> wrote:
> Back to the script: once found the list of ncs with full and partial
> replicas (and adding a little debug info to the script I've seen that
> them are not empty as said by ldbsearch) the script will try to update
> attributes on the db and for me it fails there when running
> ldb.MessageElement(master_nclist, ldb.FLAG_MOD_REPLACE,
> "msDS-hasMasterNCs")
> but I'm not able to find sources of that function. Obviously the error
> is not in the function but I will understand what goes wrong so can you
> point me to what I should search for?

I believe you're looking for the "py_ldb_msg_element_new" function in

"ldb" is a Python module written in C.

Michael Wood <esiotrot at>

More information about the samba-technical mailing list