1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

tests/samba-tool user_wdigest: Add accounts to local database

Adding accounts over LDAP means transactions cannot be used, potentially
leading to problems.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2022-05-10 12:59:06 +12:00 committed by Andrew Bartlett
parent 05a7092fda
commit c87ec2d331

View File

@ -64,12 +64,7 @@ class UserCmdWdigestTestCase(SambaToolCmdTest):
self.runsubcmd("user",
"create",
USER_NAME,
self.password,
"-H",
"ldap://%s" % os.environ["DC_SERVER"],
"-U%s%%%s" % (
os.environ["DC_USERNAME"],
os.environ["DC_PASSWORD"]))
self.password)
def tearDown(self):
super(UserCmdWdigestTestCase, self).tearDown()