fix gpo show WITH_ACL=1
[metze/samba/wip.git] / source4 / scripting / python / samba / tests / samba_tool / gpo.py
index 82e7268e1b9695d30313f1ec119b5dd23b2f4623..45f01b30081a709e6dde6c333c2b20a472a7b0bb 100644 (file)
@@ -46,7 +46,7 @@ os.environ["SERVER"])
 
     def test_show(self):
         """Show a real GPO, and make sure it passes"""
-        (result, out, err) = self.runsubcmd("gpo", "show", self.gpo_guid, "-H", "ldap://%s" % os.environ["SERVER"])
+        (result, out, err) = self.runsubcmd("gpo", "show", self.gpo_guid, "-H", "ldap://%s" % os.environ["SERVER"], "-U%s%%%s" % (os.environ["USERNAME"], os.environ["PASSWORD"]))
         self.assertCmdSuccess(result, "Ensuring gpo fetched successfully")
 
     def test_aclcheck(self):