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:
parent
05a7092fda
commit
c87ec2d331
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user