gpo: Enable user policy application
[samba.git] / python / samba / tests / gpo_member.py
index 3d614f53d04d8f1617c5f54755e81f6c6b5d0a15..18e8cb9715f85ce6ffce74962f98b5385827a591 100644 (file)
@@ -39,6 +39,7 @@ class GPOTests(tests.TestCase):
         cache_dir = self.lp.get('cache directory')
         store = GPOStorage(os.path.join(cache_dir, 'gpo.tdb'))
         try:
-            gp_access_ext(logger, self.lp, self.creds, store)
+            gp_access_ext(logger, self.lp, self.creds,
+                          self.creds.get_username(), store)
         except Exception:
             self.fail('Initializing gp_access_ext should not require ad-dc')