mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r9500: userAuth() takes a creds object, not a general object now ...
This commit is contained in:
parent
4afb16d7b2
commit
57e6eb9c66
@ -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