mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
libsmb: Add "DOMAIN" to authentication creds
If you want to create symlinks on Windows using reparse points, you need to authenticate as local administrator, just "administrator" is not enough. So this is required to run some tests against Windows. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c3d65f10c5
commit
b7fd2cf5ba
@ -32,6 +32,7 @@ class LibsmbTests(samba.tests.TestCase):
|
||||
|
||||
self.creds = credentials.Credentials()
|
||||
self.creds.guess(self.lp)
|
||||
self.creds.set_domain(samba.tests.env_get_var_value("DOMAIN"))
|
||||
self.creds.set_username(samba.tests.env_get_var_value("USERNAME"))
|
||||
self.creds.set_password(samba.tests.env_get_var_value("PASSWORD"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user