git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
134ab45
)
tests/libsmb_samba_internal.py: fully setup the Credentials by creds.guess(lp)
author
Stefan Metzmacher
<metze@samba.org>
Fri, 2 Dec 2016 09:23:28 +0000
(10:23 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 2 Dec 2016 12:46:11 +0000
(13:46 +0100)
It's important that we correctly initialize domain and realm.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/tests/libsmb_samba_internal.py
patch
|
blob
|
history
diff --git
a/python/samba/tests/libsmb_samba_internal.py
b/python/samba/tests/libsmb_samba_internal.py
index fe9f197a2c2027c2927da4c439ed42bb69f95a98..d883dae2fd74e3595a5044412ccc152cbb57fa49 100644
(file)
--- a/
python/samba/tests/libsmb_samba_internal.py
+++ b/
python/samba/tests/libsmb_samba_internal.py
@@
-54,6
+54,7
@@
class LibsmbTestCase(samba.tests.TestCase):
lp.load(os.getenv("SMB_CONF_PATH"))
creds = credentials.Credentials()
+ creds.guess(lp)
creds.set_username(os.getenv("USERNAME"))
creds.set_password(os.getenv("PASSWORD"))