diff --git a/src/sambal/client.py b/src/sambal/client.py index 273c111..cbd09b4 100644 --- a/src/sambal/client.py +++ b/src/sambal/client.py @@ -24,6 +24,7 @@ def connect_samdb(host, username, password, realm=None) -> SamDB: lp.load_default() creds = Credentials() + creds.guess(lp) creds.set_username(username) creds.set_password(password)