+ Post New Thread
Page 18 of 19 FirstFirst ... 8141516171819 LastLast
Results 256 to 270 of 274
EduGeek Self Service Password Reset Thread, Self Service Password Reset in Projects:; Originally Posted by zbjsy managed to get it working, seems that page doesnt like the variables used, if you manually ...
  1. #256

    Join Date
    Mar 2009
    Location
    Denver
    Posts
    7
    Thank Post
    0
    Thanked 4 Times in 2 Posts
    Rep Power
    0
    Quote Originally Posted by zbjsy View Post
    managed to get it working, seems that page doesnt like the variables used, if you manually set them in that, min length etc it works. can supply code if needed.
    If you could upload the code as to how you did this, that would be great.
    I've gotten a new boss, and he decided he wants this implemented this.

    I just discovered that a user can set their password to blank, which is not good.
    It does seems to error out for any other password that does not meet our Domain password complexity.

    If I figure out a solution, I'll upload my code change.

  2. #257

    Join Date
    Mar 2009
    Location
    Denver
    Posts
    7
    Thank Post
    0
    Thanked 4 Times in 2 Posts
    Rep Power
    0

    Got an alternative

    For the Select Case PwdType on reset_pass.asp
    I added an If statement:

    I changed it from:
    Case 5
    If (Not ISEmpty(Request.Form("NewPass"))) Then
    NewPassword = Request.Form("NewPass")
    'check for blank password
    ResetPass()
    Else
    PWPromptUser()
    End If

    To:
    Case 5
    If (Not ISEmpty(Request.Form("NewPass"))) Then
    NewPassword = Request.Form("NewPass")
    'check for blank password
    If NewPassword = "" Then
    PWPromptUser()
    Else
    ResetPass()
    End If
    Else
    PWPromptUser()
    End If

    It's probably not the cleanest way to do this, but it seems to be working.

    I wish I knew how to program in ASP a little better, then I could create better fixes.

  3. #258

    Join Date
    Jan 2010
    Posts
    62
    Thank Post
    7
    Thanked 5 Times in 5 Posts
    Rep Power
    10
    i've modified ours quite a bit as dont want people to use the word password, so you may gave to take that bit out, but here you go:

    reset/reset_pass.asp

    Code:
    JavaScriptHeader = "function formValidation(form)" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "{" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "if(notpassword(form.NewPass))" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "{" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "if(minLength(form.NewPass)){" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "return true;" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "} else {" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "alert(""Your password must be at least 6 characters long"");" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "document.form.NewPass.focus();" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "}" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "} else {" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "alert(""You cannot use the word password as a new password"");" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "document.form.NewPass.focus();" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "}" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "return false;" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "}" & vbNewLine
    
    
    JavaScriptHeader = JavaScriptHeader & "function notEmpty(elem)" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "{" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "if(elem.value.length == 0){" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "return false;" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "} else {" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "return true;" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "}" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "}" & vbNewLine
    
    JavaScriptHeader = JavaScriptHeader & "function notpassword(elem)" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "{" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "if(elem.value.toLowerCase() == 'password'){" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "return false;" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "} else {" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "return true;" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "}" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "}" & vbNewLine
    
    JavaScriptHeader = JavaScriptHeader & "function minLength(elem)" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "{" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "if(elem.value.length > 5){" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "return true;" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "} else {" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "return false;" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "}" & vbNewLine
    JavaScriptHeader = JavaScriptHeader & "}" & vbNewLine

  4. #259
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42
    Is the latest version of this in the zip file in the first post?

  5. #260
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42
    Nevermind, did a search on this thread for attachments.

  6. #261

    Join Date
    Apr 2011
    Location
    India
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi, Thanks for this simple and easy tool.. it works perfectly on test network.. I will deploy it on production environment this week. just wondering is there any way to reduce the question at registration page? I don't need three questions there

  7. #262

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,343
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414
    Hi,

    Glad you like it and it works for you.

    There is no way to reduce the number of questions without hacking a lot of code out I don't think.

    Will consider it as a feature request for the next version.

    Thanks.

    Ben

  8. Thanks to plexer from:

    thomasdavid1 (27th June 2011)

  9. #263

    Join Date
    Jun 2010
    Location
    Newport South Wales
    Posts
    5
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Windows Server 2008 R2

    Hi Guys,

    Im looking for something like this, does it work on Windows Server 2008 R2?

    Thanks - Tom

  10. #264

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,343
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414
    Hi Tom,

    Don't know if it's been tried on that, care to give it a whirl and let us know?

    Ben

  11. #265

    Join Date
    Jun 2010
    Location
    Newport South Wales
    Posts
    5
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    See if I can set it up on a virtual server tomorrow and give it a test.

  12. #266

    Join Date
    Jun 2011
    Location
    East Yorks
    Posts
    2
    Thank Post
    0
    Thanked 2 Times in 1 Post
    Rep Power
    0
    Just a FYI,

    Anyone wanting to use on 2008 server R2 it works fine.

    If anyone can help with a custom gina for Windows 7 I would appreciate it, I need help with it so we can have the reset password option on the login screen.
    Last edited by themaster0071; 28th June 2011 at 04:11 PM.

  13. 2 Thanks to themaster0071:

    plexer (5th July 2011), RoyaMarie (5th November 2013)

  14. #267

    Join Date
    Jul 2011
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Password Reset Tool

    Hi,

    I have followed the process mentioned for setting the password reset option on the desktop for users. However, when i restart the system, the tool is not shown.

    Can you please let me know what is that i have to do to make the tool visible always.

    Thanks

  15. #268

    Join Date
    Jan 2010
    Posts
    62
    Thank Post
    7
    Thanked 5 Times in 5 Posts
    Rep Power
    10
    did you have to do anything different on 2008? in process of migrating from 2003 to 2008 r2

  16. #269

    Join Date
    Jul 2011
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    The above mentioned issue is resolved. However, when a user is trying to reset his password, he gets the below error.

    Error: User x has not been registered. Please check you entered the username correctly and try again. If you entered your username correctly then password reset is not possible.

    Please contact an administrator.

    I have tried reset the counters and resetting the user's questions.

    Any help is appreciated.

  17. #270

    Join Date
    Jan 2010
    Posts
    62
    Thank Post
    7
    Thanked 5 Times in 5 Posts
    Rep Power
    10
    'Active Directory Group whose passwords can be reset by resetGroup
    usersGroup = "Student Group"
    Can this have multi student groups listed in it?

    As I have a Student group that has all the other student groups added to it but this does not work

SHARE:
+ Post New Thread

Similar Threads

  1. Password Reset form for ICT staff
    By Rozzer in forum Windows
    Replies: 21
    Last Post: 30th January 2013, 10:01 AM
  2. apc powerchute buisness ed reset password
    By russdev in forum Windows
    Replies: 7
    Last Post: 8th November 2011, 12:35 PM
  3. bulk password reset
    By Jonny_sims in forum Windows
    Replies: 10
    Last Post: 26th September 2011, 10:12 PM
  4. Cisco Switch Password Reset
    By FN-GM in forum Wireless Networks
    Replies: 6
    Last Post: 10th October 2007, 09:15 AM
  5. Need to reset a local account's password
    By timbo343 in forum Scripts
    Replies: 1
    Last Post: 21st September 2007, 01:16 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •