Python provision: remove "ExistingBackend"
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 26 Oct 2018 07:41:50 +0000 (20:41 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 1 Nov 2018 04:08:12 +0000 (05:08 +0100)
commitd9b457941667bf011ab15e33567a6034133e5dde
tree1ac453fea509c89a9196a5d1495da2f06410cb0a
parentf0c45e0831f502e04e4100d795d0a06ff06eb3fe
Python provision: remove "ExistingBackend"

This was unused and broken. e.g. here:

-    def init(self):
-        # Check to see that this 'existing' LDAP backend in fact exists
-        ldapi_db = Ldb(self.ldapi_uri)

there is no attribute self.ldapi_uri, so this would always raise an
exception.

It was being left around in case it became useful, but that doesn't
seem to be happening.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
python/samba/provision/__init__.py
python/samba/provision/backend.py