svn commit: samba r9500 - in branches/SAMBA_4_0/source/scripting/ejs: .

tridge at samba.org tridge at samba.org
Tue Aug 23 02:11:49 GMT 2005


Author: tridge
Date: 2005-08-23 02:11:49 +0000 (Tue, 23 Aug 2005)
New Revision: 9500

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9500

Log:

userAuth() takes a creds object, not a general object now ...


Modified:
   branches/SAMBA_4_0/source/scripting/ejs/smbcalls_auth.c


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls_auth.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbcalls_auth.c	2005-08-23 02:05:53 UTC (rev 9499)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls_auth.c	2005-08-23 02:11:49 UTC (rev 9500)
@@ -122,7 +122,7 @@
 	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());



More information about the samba-cvs mailing list