1
0
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:
Andrew Tridgell 2005-08-23 02:11:49 +00:00 committed by Gerald (Jerry) Carter
parent 185adae2f9
commit d857d1a965

View File

@ -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());