<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
The only snag with that implementation is that if they are logging
in from a LocalIP (i.e. somewhere on your site), that won't fix it
when they login with the little "dropdown" login box, only if they
actually go to the full login form.<br>
<br>
I've added a couple of lines to NSSADAuthenticator.php to say this:<br>
$uname = preg_replace('/@.*$/', '', $uname);<br>
$uname = preg_replace('/^.*\\\/', '', $uname);<br>
where previously it just said<br>
$uname = preg_replace('/@.*$/', '', $uname);<br>
(that occurs twice in NSSADAuthenticator.php).<br>
<br>
On 17/09/2011 11:19, --[ UxBoD ]-- wrote:
<blockquote
cite="mid:c67ba2de-fff6-442c-aef7-228b7994f654@office.splatnix.net"
type="cite">
<style type="text/css">p { margin: 0; }</style>
<div style="font-family: Courier New; font-size: 10pt; color:
#000000">Jules, please ignore this request as all that is
required is JS magic in login.tpl:<br>
<br>
<script type="text/javascript"><br>
bindEnter($('#passwordField'), function(){
submitform() });<br>
function submitform() {<br>
var uname = document.forms["login"].uname.value;<br>
document.forms["login"].uname.value =
uname.substring(uname.indexOf("\\")+1);<br>
document.login.submit(); }<br>
</script><br>
<span>-- <br>
Thanks, Phil<span name="x"></span><br>
</span><br>
<hr id="zwchr">
<blockquote style="border-left:2px solid rgb(16, 16,
255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
<style>p { margin: 0; }</style>
<div style="font-family: Courier New; font-size: 10pt; color:
#000000">Jules, a number of our test users have commented
that it would be great if they were able to specify the same
sign on credentials as they do for other systems. What is
the difference you may ask? Well all other systems require
DOMAIN\USERID and they are looking for consistency. They
believe when rolled out there will be a lot of login
failures as people will try to use the later format. How
feasible would it be to add a parse routine to the code to
strip the slash and domain from the login credentials ?<span><br>
<span></span>-- <br>
Thanks, Phil<span></span><br>
</span><br>
</div>
<br>
_______________________________________________<br>
ZendTo mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></blockquote>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'Teach a man to reason, and he will think for a lifetime.' - Phil Plait
'All programs have a desire to be useful' - Tron, 1982
</pre>
</body>
</html>