From: Garming Sam Date: Wed, 14 Mar 2018 03:52:58 +0000 (+1300) Subject: kcc_utils: Use lower name in automatic sites covered X-Git-Tag: talloc-2.1.12~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecf503ce76cd241e0e095279642820f72c8a7fba;p=thirdparty%2Fsamba.git kcc_utils: Use lower name in automatic sites covered This allows easier testing, as well as some consistency in the DNS record creation. Signed-off-by: Garming Sam Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/kcc/kcc_utils.py b/python/samba/kcc/kcc_utils.py index 7ed0e09a038..a4870a3e7c8 100644 --- a/python/samba/kcc/kcc_utils.py +++ b/python/samba/kcc/kcc_utils.py @@ -2361,6 +2361,6 @@ def uncovered_sites_to_cover(samdb, site_name): if to_cover: site_cover_rdn = site.dn.get_rdn_value() - sites_to_cover.append(site_cover_rdn) + sites_to_cover.append(site_cover_rdn.lower()) return sites_to_cover