mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r9500: userAuth() takes a creds object, not a general object now ...
(This used to be commit 57e6eb9c66
)
This commit is contained in:
parent
185adae2f9
commit
d857d1a965
@ -122,7 +122,7 @@ static int ejs_userAuth(MprVarHandle eid, int argc, struct MprVar **argv)
|
||||
username = cli_credentials_get_username(creds);
|
||||
password = cli_credentials_get_password(creds);
|
||||
domain = cli_credentials_get_domain(creds);
|
||||
remote_host = mprToString(mprGetProperty(argv[0], "rhost", NULL));
|
||||
remote_host = cli_credentials_get_workstation(creds);
|
||||
|
||||
if (username == NULL || password == NULL || domain == NULL) {
|
||||
mpr_Return(eid, mprCreateUndefinedVar());
|
||||
|
Loading…
Reference in New Issue
Block a user