s4:provision Fix existing ldapi:// backend detection exception
authorAndrew Bartlett <abartlet@samba.org>
Sun, 16 Aug 2009 23:52:09 +0000 (09:52 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 16 Aug 2009 23:52:09 +0000 (09:52 +1000)
Found by Oliver Liebel <oliver@itc.li>

Andrew Bartlett

source4/scripting/python/samba/provision.py

index 5825e4726a58d46a25feca7049c2fea5452d07a4..da1625f35de53e6a860aac35745bb27e3f6609dc 100644 (file)
@@ -1314,7 +1314,7 @@ class ProvisionBackend(object):
             except:
                 pass
             
-            raise("Warning: Another slapd Instance seems already running on this host, listening to " + ldapi_uri + ". Please shut it down before you continue. ")
+            raise("Warning: Another slapd Instance seems already running on this host, listening to " + self.ldapi_uri + ". Please shut it down before you continue. ")
         
         except LdbError, e:
             pass