Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 139019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:21:36+00:00 2026-05-11T07:21:36+00:00

Typical ISP setup. One server is the web server, another is the DB SQL

  • 0

Typical ISP setup. One server is the web server, another is the DB SQL server. There is a local administrator account, let’s say XYZ, created on both machines. So when I log in remotely, I am either WebServer\XYZ or DBServer\XYZ, depending where I log in.

Now, when I login to SQL Server SSMS on DBServer using Windows Authentication, and execute ‘SELECT SUSER_NAME()’, I get DBServer\XYZ. That makes sense since it’s picking up the fact that I logged in with those credentials.

Now, move over to the WebServer. I remotely login as WebServer\XYZ. I’ve installed the SQL client components there. When I launch SSMS, choose the DBServer, login with Windows Authentication, and execute ‘SELECT SUSER_NAME()’, I somehow get DBSERVER\XYZ, instead of what I would assume should be WebServer\XYZ.

Somehow, the XYZ from the WebServer becomes the XYZ from the DBServer. Why is that? How does that happen? Surely, it can’t just be because the names happen to be the same?

I’ve heard of trusted domains, but neither machine is a Domain Controller, so I don’t have access to that info. How can I tell if it’s trusted or not, without the GUI tools?

The reason I ask the question is because, I’m trying to implement the same thing on my XP laptop (using Virtual PC), so I can imitate the production environment, but I’m not having any luck.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T07:21:37+00:00Added an answer on May 11, 2026 at 7:21 am

    The NTLM challenge between machines is a little more complex @Quassnoi indicates but it is similar. The machines may well be in the same domain or trusted domains, but the accounts you are using are local machine accounts, scoped only to the local machine’s security access management.

    Local SAM accounts patterned as machinename\userid are non-propagatable. You’d experience a series of negotiated fallbacks when you tried to authenticate against external resources using that account as follows:

    1. Pass current domain/username/password hash token – it’ll fail, the account is untrusted
    2. Fallback – revert passing hash of UserID + Password
    3. Fallback – revert to connecting as anonymous credentials.

    The fallbacks can also be disabled through configuration, it is very common for anonymous authentication to be prevented.

    As @Quassnoi indicates in this instance you managed to login using the #2 fallback.

    To enable account credentials to propagate, you’d need the following to be true:

    1. machines would need to be members of domains with at least one-way trust between each other (they don’t necessarily have to be members of the same domain).
    2. use domain accounts – not local machine accounts – would look something like domainname\userid. A special case is the Network Service account which has a proxy account in the domain scenario – domainname\machinename$.

    How do you tell if your machine is a member of the domain? It’s pretty easy if you’ve got interactive login to the machines. There are a few strategies

    1. interactively the System control panel will show workgroup or domain membership. (Right-click properties on Computer in the start menu)
    2. at the command-line, IPCONFIG /ALL will also show the default DNS prefix which is typically the same as your domain name.

    I suspect your ISP would create a domain just to make it easy to manage and monitor their machines. Whether they’d let you create domain accounts is a different question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 84k
  • Answers 84k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer JInternalFrame.addInternalListener, and then catch in the internalFrameDeiconified method. Then you… May 11, 2026 at 4:59 pm
  • Editorial Team
    Editorial Team added an answer So, according to the man page, print is to "Display… May 11, 2026 at 4:59 pm
  • Editorial Team
    Editorial Team added an answer Thanks for the initiative Scott Kirkwood. I was actually missing… May 11, 2026 at 4:59 pm

Related Questions

Typical way of creating a CSV string (pseudocode): Create a CSV container object (like
A typical stored procedure in our system accepts around 20 or so parameters. There's
A typical approach to avoid two instances of the same script running simultaneously looks
The typical ConfigParser generated file looks like: [Section] bar=foo [Section 2] bar2= baz Now,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.