+ Post New Thread
Page 10 of 19 FirstFirst ... 67891011121314 ... LastLast
Results 136 to 150 of 274
EduGeek Self Service Password Reset Thread, Self Service Password Reset in Projects:; whoop. Ben...
  1. #136

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,273
    Thank Post
    614
    Thanked 1,567 Times in 1,407 Posts
    Rep Power
    412
    whoop.

    Ben

  2. #137

    Join Date
    Sep 2007
    Posts
    90
    Thank Post
    7
    Thanked 32 Times in 17 Posts
    Rep Power
    19

    Error Number: -2147024891

    I just updated to SSPR 2.2.1 and , when resetting, now i'm getting this error too:

    Code:
    Wachtwoord resetten voor XXX ...
    An unexpected error occurred in the execution of this page
    Please report the following information to an Administrator
    Page Error Object
    Error Number: -2147024891
    Error Description: General access denied error 
    Source: Active Directory
    LineNumber: 0
    However our SSPR_SERVER (which in our case is called PwReset) is member of domain admins. So it can hardly be a matter of rights, can it?
    [edit: In fact, even using Administrator doesn't work]

    i read that boomam had the same problem but i couldn't find a solution.

    Does the server have to be restarted after registring LoginAdmin.dll?
    Does the username in cred.ini need DOMAIN\ before it ( or @FQDN after it)?

    [edit: Never mind after changing the username/password back again it
    miraculously seems to work now...Thanks for your time]
    Last edited by rvdmast; 4th February 2008 at 01:20 PM.

  3. #138

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,273
    Thank Post
    614
    Thanked 1,567 Times in 1,407 Posts
    Rep Power
    412
    cred.ini should not have domain or @fqdn after the username.

    Ben

  4. #139

    Join Date
    Sep 2007
    Posts
    90
    Thank Post
    7
    Thanked 32 Times in 17 Posts
    Rep Power
    19
    Ok so i got SSPR 2.2.1 to work again, however i noticed i still have the problem described earlier in this thread:
    Whenever i wan't to load the admin pages from any computer other then the server i get:

    Code:
    Microsoft VBScript runtime error '800a0046' 
    
    Permission denied: 'GetObject' 
    
    /admin/auth.asp, line 33
    which reads:
    Code:
    Set UserObj = GetObject("WinNT://" & FQDN & "/" & CurrentUser & ",user")
    Maybe this requires impersonation too?

    Btw i'm still running it on a member server, not a DC.
    Last edited by rvdmast; 4th February 2008 at 04:57 PM.

  5. #140
    Irazmus's Avatar
    Join Date
    Feb 2006
    Location
    Suffolk
    Posts
    313
    Thank Post
    13
    Thanked 19 Times in 14 Posts
    Rep Power
    22
    Doh, I've just rechecked the file I uploaded and it seems I included an old copy of auth.asp.

    I've updated the zip file but if you want to update manually, change line 33 from:
    Code:
    Set UserObj = GetObject("WinNT://" & FQDN & "/" & CurrentUser & ",user")
    To:
    Code:
    Set objLogon = Server.CreateObject("LoginAdmin.ImpersonateUser")
    objLogon.Logon ImpersonateUser, ImpersonateUserPass, FQDN
    Set UserObj = GetObject("WinNT://" & FQDN & "/" & CurrentUser & ",user")
    objLogon.Logoff
    Set objLogon = Nothing
    I don't think there are any more surprises in there anywhere, but I'll double check my live copy when I get to work in the morning.

  6. #141

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Is there any point in me changing that line if it all works ok for me? .

  7. #142

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,273
    Thank Post
    614
    Thanked 1,567 Times in 1,407 Posts
    Rep Power
    412
    boomam: I think it would be wise to do so yes, just keep a copy of the old file in case it doesn't work.

    Ben

  8. #143

    Join Date
    Sep 2007
    Posts
    90
    Thank Post
    7
    Thanked 32 Times in 17 Posts
    Rep Power
    19
    Quote Originally Posted by Irazmus View Post
    Doh, I've just rechecked the file I uploaded and it seems I included an old copy of auth.asp.
    ...
    I don't think there are any more surprises in there anywhere, but I'll double check my live copy when I get to work in the morning.
    Actualy, there were differences in adminreset.asp too (looked like impersonation stuff too) so i updated that file too.

    The original issue is solved, thanks!.
    I can now open the admin pages from other computers too.
    However (you saw that coming didn't you? ) now i get another error when trying to reset a users pasword:

    Code:
    Resetting password for pwtest ...
    An unexpected error occurred in the execution of this page
    Please report the following information to an Administrator
    Page Error Object
    Error Number: 450
    Error Description: Wrong number of arguments or invalid property assignment
    Source: Microsoft VBScript runtime error
    LineNumber: 0
    Allowed Attributes:
    I suppose this error is in adminreset.asp but since the error message doesn't where & which line i dont know where to search.

  9. #144

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,273
    Thank Post
    614
    Thanked 1,567 Times in 1,407 Posts
    Rep Power
    412
    Does resetting a users password by using the reset pages work?

    Ben

  10. #145
    Irazmus's Avatar
    Join Date
    Feb 2006
    Location
    Suffolk
    Posts
    313
    Thank Post
    13
    Thanked 19 Times in 14 Posts
    Rep Power
    22
    That error is from adminreset.asp, it comes from
    Code:
    objUser.SetPassword
    in the ResetPass function. For some reason it's not getting the type of value it expects.

    A couple of things before I go hunting further:
    Is it only the admin reset that fails or does the self service part fail also? | EDIT: Beaten by Ben again ^^;
    Can you post the password section of your config.asp (The section including PwdType)
    Last edited by Irazmus; 5th February 2008 at 11:48 AM.

  11. #146

    Join Date
    Sep 2007
    Posts
    90
    Thank Post
    7
    Thanked 32 Times in 17 Posts
    Rep Power
    19
    resetting a users password by using the reset pages works fine, its just the admin page that fails.

    here is the part from my config.asp:

    Code:
    '-----------------
    'Reset password can take 5 forms:
    '1) a static password used for all users
    '2) a list of user/password pairs
    '3) a random alphanumeric srting
    '4) a random password chosen from a list
    '5) a password chosen by the user
    'Set PwdType to the number of the method desired
    PwdType = 5
    'Modify the variable which corresponds to the PwdType chosen above
    DefPassword = "paradise"	'Static password for all users
    PasswordList = "C:\Inetpub\userpasslist.csv"		'Path to csv file containing user/password pairs
    RandomPassword = 10		'Length of random password. Set to 0 for variable length using the min/max values below
    RandomPasswordMin = 6	'Minimum length of random password
    RandomPasswordMax = 20	'Mazimum length of random password
    RandomPasswordList = "C:\Inetpub\passlist.txt"	'Path to file containing password list, 1 password per line
    '-----------------
    'Location of database Eg: C:\Inetpub\wwwroot\databases\reset_db.mdb
    DataBase = "C:\Inetpub\wwwroot\databases\reset_db.mdb"
    '-----------------
    'Database Access Credentials.
    'Only set these if you have protected the database. The standard database does not need these to be modified
    'UserID
    DBUID = ""
    'Password
    DBPWD = ""
    '-----------------

  12. #147

    Join Date
    Nov 2007
    Posts
    554
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Quote Originally Posted by plexer View Post
    boomam: I think it would be wise to do so yes, just keep a copy of the old file in case it doesn't work.

    Ben
    I think i'll stick to the mantra 'if it aint broke, dont fix it' for now. .

  13. #148

    Join Date
    Sep 2007
    Posts
    90
    Thank Post
    7
    Thanked 32 Times in 17 Posts
    Rep Power
    19

    Another thing

    @irazmus & plexer: in reset_pass.asp you use:
    Code:
    oUser.SetPassword( NewPassword )
    whereas in adminreset.asp you use:
    Code:
    objUser.SetPassword ("NewPassword")
    ???
    (notice the quotes)

    So i changed the code in adminreset to ( NewPassword ) without
    the quotes and guess what: it works!
    Last edited by rvdmast; 6th February 2008 at 08:09 AM.

  14. #149
    kerrymoralee9280
    Guest
    When I log in as a test account and register for the service, it appears to register fine but when I look at the database the 'username' field is empty.

    Any ideas anyone?

  15. #150

    Join Date
    Sep 2007
    Posts
    90
    Thank Post
    7
    Thanked 32 Times in 17 Posts
    Rep Power
    19
    Is your test account a domain user?
    In IIS manager, did you set the register, update and admin folders to Integrated Authentication and the reset folder to Anonymous ?
    Are the other fields in the database being filled in?

SHARE:
+ Post New Thread
Page 10 of 19 FirstFirst ... 67891011121314 ... LastLast

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
  •