1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/python/samba/kcc
Douglas Bagnall eec0d119ac KCC: simplify get_dsa_for_implied_replica(), using IP invariant
We only do IP transports. Therfore the long list of alternatives...

                   (not n_rep.is_domain() or
                    n_rep.is_partial() or
                    cn_conn.transport_dnstr is None or
                    cn_conn.transport_dnstr.find("CN=IP") == 0)

that ends with the equivalant of "is this IP?" always evaluates to True.

If we leave it there it will confuse people for ever.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-10-29 05:08:15 +01:00
..
__init__.py KCC: simplify get_dsa_for_implied_replica(), using IP invariant 2015-10-29 05:08:15 +01:00
debug.py KCC: ignore the bridges_required option 2015-06-12 06:57:17 +02:00
graph_utils.py KCC: pep8 -- remove an extra line in graph_utils 2015-06-12 06:57:16 +02:00
graph.py KCC: remove unused create_edge_set() function 2015-06-12 06:57:17 +02:00
kcc_utils.py KCC: use python 2.6 compatible dictonary comprehensions 2015-06-12 09:46:13 +02:00
ldif_import_export.py python/kcc: Write correct module list into the file during ldif_to_samdb 2015-10-26 05:11:21 +01:00