samba_kcc: simplify NCReplica constructor
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 13 Dec 2017 04:50:56 +0000 (17:50 +1300)
committerKarolin Seeger <kseeger@samba.org>
Sat, 13 Jan 2018 16:37:07 +0000 (17:37 +0100)
commit81484f32f4dfe4aeb5624430575fe791a9063246
treeda745077df87c5a6f8f7a8066058a1edbb15120d
parent315f445a0256b0b63a344286debb6a27053c4d69
samba_kcc: simplify NCReplica constructor

There is nothing to be gained from setting the dn and guid separately
except subtle bugs.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/kcc/__init__.py
python/samba/kcc/kcc_utils.py