1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

kcc: Export extended_dn to be used by import

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Garming Sam 2015-03-13 16:20:37 +13:00 committed by Andrew Bartlett
parent e742720ad8
commit 9864192a26

View File

@ -2489,7 +2489,8 @@ class KCC(object):
self.samdb.get_config_basedn()
res = self.samdb.search(sstr, scope=ldb.SCOPE_SUBTREE,
attrs=attrs,
expression="(objectClass=siteLink)")
expression="(objectClass=siteLink)",
controls=['extended_dn:0'])
# Write siteLink output
write_search_result(self.samdb, f, res)