Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Non AD to AD upgrade strategy.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Non AD to AD upgrade strategy.

 Post Reply Post Reply Page  <123
Author
p3ter View Drop Down
Newbie
Newbie


Joined: 06 July 2004
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote p3ter Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2008 at 11:59am

OK, one happy hacker here came up with a neater solution which allows adding & modifying local users while Windows Authentication is enabled, and is smart enough to not update the User_code field if the user is a local user.

Edit admin_register.asp at around line 367: 
'If blnWindowsAuthentication = False Then .Fields("User_code") = strUserCode
     If strMode = "edit" Then
               If blnWindowsAuthentication = False Then .Fields("User_code") = strUserCode
     Else
          .Fields("User_code") = strUserCode
     End If
I think it's worth bug-reporting that without this hack, if Windows Authentication is active the db Fields "User_code" is not handled correctly, giving the 500 Error any time you try to modify a Local User. Irrespective of whether or not this is advised or supported, it is still undersirable and unhandled.
 
At a minimum this error situation should be handled, but in my view (because I need it!) it would be more flexible to allow mixed authentication, since as far as I can tell there are few risks (no risks?) as long as it's done right...
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2008 at 12:21pm
Will look at adding this to version 10.
Back to Top
 Post Reply Post Reply Page  <123

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.