Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Issues after upgrade
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Issues after upgrade

 Post Reply Post Reply
Author
polysulfide View Drop Down
Newbie
Newbie


Joined: 08 September 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote polysulfide Quote  Post ReplyReply Direct Link To This Post Topic: Issues after upgrade
    Posted: 08 September 2006 at 9:05pm
I upgraded my database from version 7 to version 8
Version 7 was running on IIS5
Version 8 is running on IIS6
I am using SQL Server and Windows Authentication
 
Windows usernames are not resolved in a compatible way.
 
Legacy users show up as "domain\username"
 
When logging in users are now referenced as "username" without the domain portion so they do not match their existing user account.
 
Is there a quick fix for this or do I need to update my database with non domain user names?
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: 09 September 2006 at 9:14am
Edit the file functions/functions_windows_authentication.asp and remove the following lines at line 136:-

'Use the last part of the windows authentication (bit without domain) as the forum username
        If InStrRev(strAuthenticatedUser, "\") = 0 Then
            strUserName = strAuthenticatedUser
        Else
            strUserName = Mid(strAuthenticatedUser, InStrRev(strAuthenticatedUser, "\")+1, Len(strAuthenticatedUser))
        End If
Back to Top
 Post Reply Post Reply

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.