svn commit: samba r9177 - in branches/SAMBA_4_0/swat: .

Stefan Metzmacher metze at samba.org
Sun Aug 7 15:08:54 GMT 2005


Am Sonntag, 7. August 2005 09:00 schrieb tridge at samba.org:
> Author: tridge
> Date: 2005-08-07 07:00:27 +0000 (Sun, 07 Aug 2005)
> New Revision: 9177
>
> WebSVN:
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9177

> Modified:
>    branches/SAMBA_4_0/swat/login.esp
>
>
> Changeset:
> Modified: branches/SAMBA_4_0/swat/login.esp
> ===================================================================
> --- branches/SAMBA_4_0/swat/login.esp	2005-08-07 07:00:00 UTC (rev 9176)
> +++ branches/SAMBA_4_0/swat/login.esp	2005-08-07 07:00:27 UTC (rev 9177)
> @@ -22,7 +22,6 @@
>
>  <%
>  	if (request.REQUEST_METHOD == "POST") {
> -
>  		var authinfo = new Object();
>  		authinfo.username = form.Username;
>  		authinfo.password = form.Password;
> @@ -33,14 +32,16 @@
>  		if (auth == undefined) {
>  			write("<b>Invalid login - please try again<br /></b>\n");
>  		} else if (auth.result) {
> -
> -			/* for now just authenticate everyone */
>  			session.AUTHENTICATED = true;
>  			session.authinfo = new Object();
>
>  			session.authinfo.username = auth.username;
>  			session.authinfo.domain = auth.domain;
> -
> +			session.authinfo.credentials = credentials_init();
> +			session.authinfo.credentials.set_username(authinfo.username);
> +			session.authinfo.credentials.set_domain(authinfo.domain);
> +			session.authinfo.credentials.set_password(authinfo.password);

can we name that session.authinfo.delegated_cred? to make more clear for what 
they are used.

when we will support krb5 auth in http we may can add the delegated ticket 
that is in the 8003 checksum, here.

metze
--
Stefan (metze) Metzmcher <metze at samba dot org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050807/f330d4ac/attachment.bin


More information about the samba-technical mailing list