Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Specialty Builds > Servers

Reply
 
LinkBack Thread Tools
Old 10-18-09   #1 (permalink)
Database Developer
 
Quasimojo's Avatar
 
intel nvidia

Join Date: Feb 2007
Posts: 513

Rep: 10 Quasimojo Unknown
Unique Rep: 10
Trader Rating: 0
Default Accessing Windows Server 2008 from a workgroup

I've installed VMWare server on my laptop and set up a VM with Windows Server 2008 and SQL Server 2008. The SQL Server service is running fine, as I can work on it locally (with the server OS), but I'm having trouble figuring out how to set it up so that I can access it from my laptop host OS (Windows 7).

I've set up a local user of the same name on each, and both environments are members of the same workgroup. However, when I try to access the SQL Server instance from the host OS, I get an error stating that user does not exist on the server. Is there a way to get NT authentication to work in a workgroup scenario, or will I have to use SQL Server logins for this?
__________________
"You might be a king, or a little street-sweeper,
But sooner or later, you dance with the Reaper."

-- Grim Reaper, Bill and Ted's Excellent Adventure

System: Sanctuary
CPU
C2D E6300
Motherboard
Asus P5B Deluxe
Memory
2x2GB Corsair XMS2 TwinX PC2 6400 5-5-5-15
Graphics Card
eVGA 8800 GTS 640MB
Hard Drive
Raptor 74GB/8MB - OS, 2x7200.10 250MB RAID 0/1 IMR
Sound Card
AC'97 integrated
Power Supply
OCZ GameXStream 700W
Case
Antec P180
CPU cooling
[stock]
GPU cooling
[stock]
OS
Windows Vista Ultimate 64-bit
Monitor
Acer 22" AL2216WBD LCD
Quasimojo is offline   Reply With Quote
Old 4 Weeks Ago   #2 (permalink)
Programmer
 
intel nvidia

Join Date: Oct 2006
Posts: 327

Rep: 36 danewfie is acknowledged by some
Unique Rep: 33
Trader Rating: 0
Default

when trying to access SQL you should be using SQL users not windows users.

unless i'm missing something?
__________________
System: My System
CPU
Q6600
Motherboard
EVGA 680i SLI A1
Memory
4gig Balistix 8500 DDR2
Graphics Card
EVGA 8800GT 512mb
Hard Drive
4x 500gig WD
Sound Card
X-FI Platinum
Power Supply
Antec Trio 650W
Case
Antec P182
OS
XP Pro
Monitor
Westinghouse 37''
danewfie is offline   Reply With Quote
Old 4 Weeks Ago   #3 (permalink)
Database Developer
 
Quasimojo's Avatar
 
intel nvidia

Join Date: Feb 2007
Posts: 513

Rep: 10 Quasimojo Unknown
Unique Rep: 10
Trader Rating: 0
Default

I assumed that SQL Server authentication would work (haven't tried it yet though). I was just trying to determine if there were a way to use workgroup\username or otherpc\username. In this way I could kind of simulate NT authentication on a domain.
__________________
"You might be a king, or a little street-sweeper,
But sooner or later, you dance with the Reaper."

-- Grim Reaper, Bill and Ted's Excellent Adventure

System: Sanctuary
CPU
C2D E6300
Motherboard
Asus P5B Deluxe
Memory
2x2GB Corsair XMS2 TwinX PC2 6400 5-5-5-15
Graphics Card
eVGA 8800 GTS 640MB
Hard Drive
Raptor 74GB/8MB - OS, 2x7200.10 250MB RAID 0/1 IMR
Sound Card
AC'97 integrated
Power Supply
OCZ GameXStream 700W
Case
Antec P180
CPU cooling
[stock]
GPU cooling
[stock]
OS
Windows Vista Ultimate 64-bit
Monitor
Acer 22" AL2216WBD LCD
Quasimojo is offline   Reply With Quote
Old 4 Weeks Ago   #4 (permalink)
My TiVo knows I'm a geek
 
e_dogg's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: Ventura, CA
Posts: 3,069

Rep: 327 e_dogg is a proven membere_dogg is a proven membere_dogg is a proven membere_dogg is a proven member
Unique Rep: 275
Folding Team Rank: 162
Hardware Reviews: 1
Trader Rating: 18
Default

SQL Windows Auth will only work on a domain or when logged in directly to the box. When you log in remotely, the credentials from your local machine are passed to your SQL box and summarily rejected because it doesn't recognize those credentials. This is true even if you create identical user names/passwords because the GUID behind the username will be different and will be unrecognized (side note: this is why one should never delete and recreate users - always disable the account instead).

In other words, Windows actually uses the GUID behind the username to pass credentials - not the username itself. Think of it like an IP address vs. URL name. The IP address is what's actually used to connect a computer to a website, but the URL name is the thing that we humans can easily remember so the name is mapped to the IP address.

So, you'll have to reinstall SQL using mixed mode. There's no way that I know of to make this switched once SQL Server is installed. Or, you could create a domain controller and add both of these computers to the domain, then log in with the domain credentials.

System: New and improved New Hotness!
CPU
Q9450 @ 3.0
Motherboard
Gigabyte GA-P35-DS3L
Memory
2x2GB OCZ 1066 LV
Graphics Card
Evga 9800GTX+ 800/1943/1200
Hard Drive
250gb + 750gb Seagate 7200.10 SATA
Power Supply
Corsair HX520w modular
Case
Coolermaster CM-690
CPU cooling
Dark Knight
OS
Windows 7 RC x64
Monitor
LG 22" 1680x1050
1 Million+ Folding at Home points
e_dogg is online now I fold for Overclock.net Overclocked Account   Reply With Quote
Old 4 Weeks Ago   #5 (permalink)
Database Developer
 
Quasimojo's Avatar
 
intel nvidia

Join Date: Feb 2007
Posts: 513

Rep: 10 Quasimojo Unknown
Unique Rep: 10
Trader Rating: 0
Default

I installed SQL to use mixed mode authentication.
__________________
"You might be a king, or a little street-sweeper,
But sooner or later, you dance with the Reaper."

-- Grim Reaper, Bill and Ted's Excellent Adventure

System: Sanctuary
CPU
C2D E6300
Motherboard
Asus P5B Deluxe
Memory
2x2GB Corsair XMS2 TwinX PC2 6400 5-5-5-15
Graphics Card
eVGA 8800 GTS 640MB
Hard Drive
Raptor 74GB/8MB - OS, 2x7200.10 250MB RAID 0/1 IMR
Sound Card
AC'97 integrated
Power Supply
OCZ GameXStream 700W
Case
Antec P180
CPU cooling
[stock]
GPU cooling
[stock]
OS
Windows Vista Ultimate 64-bit
Monitor
Acer 22" AL2216WBD LCD
Quasimojo is offline   Reply With Quote
Old 4 Weeks Ago   #6 (permalink)
My TiVo knows I'm a geek
 
e_dogg's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: Ventura, CA
Posts: 3,069

Rep: 327 e_dogg is a proven membere_dogg is a proven membere_dogg is a proven membere_dogg is a proven member
Unique Rep: 275
Folding Team Rank: 162
Hardware Reviews: 1
Trader Rating: 18
Default

Quote:
Originally Posted by Quasimojo View Post
I installed SQL to use mixed mode authentication.
Perfect. Then you can access the DB via the SQL user credentials.

But to reiterate the answer to your original question, no you can't use NT/Windows auth to access a remote SQL server without a domain.

System: New and improved New Hotness!
CPU
Q9450 @ 3.0
Motherboard
Gigabyte GA-P35-DS3L
Memory
2x2GB OCZ 1066 LV
Graphics Card
Evga 9800GTX+ 800/1943/1200
Hard Drive
250gb + 750gb Seagate 7200.10 SATA
Power Supply
Corsair HX520w modular
Case
Coolermaster CM-690
CPU cooling
Dark Knight
OS
Windows 7 RC x64
Monitor
LG 22" 1680x1050
1 Million+ Folding at Home points
e_dogg is online now I fold for Overclock.net Overclocked Account   Reply With Quote
Old 4 Weeks Ago   #7 (permalink)
Database Developer
 
Quasimojo's Avatar
 
intel nvidia

Join Date: Feb 2007
Posts: 513

Rep: 10 Quasimojo Unknown
Unique Rep: 10
Trader Rating: 0
Default

Ok, thanks. That's kind of what I figured. At this point, however, I'm having trouble accessing it either way. I have Windows 2008 Server installed in a VMWare Server virtual machine, and I can't even ping it. I'm not an expert on Windows Server, so I'm have a bit of trouble finding the problem. The network is set up as a "Home Network" right now, as opposed to a "Public Location".
__________________
"You might be a king, or a little street-sweeper,
But sooner or later, you dance with the Reaper."

-- Grim Reaper, Bill and Ted's Excellent Adventure

System: Sanctuary
CPU
C2D E6300
Motherboard
Asus P5B Deluxe
Memory
2x2GB Corsair XMS2 TwinX PC2 6400 5-5-5-15
Graphics Card
eVGA 8800 GTS 640MB
Hard Drive
Raptor 74GB/8MB - OS, 2x7200.10 250MB RAID 0/1 IMR
Sound Card
AC'97 integrated
Power Supply
OCZ GameXStream 700W
Case
Antec P180
CPU cooling
[stock]
GPU cooling
[stock]
OS
Windows Vista Ultimate 64-bit
Monitor
Acer 22" AL2216WBD LCD
Quasimojo is offline   Reply With Quote
Old 4 Weeks Ago   #8 (permalink)
66MHz
 
Manyak's Avatar
 
intel ati

Join Date: Mar 2008
Posts: 7,056

Rep: 654 Manyak is becoming famousManyak is becoming famousManyak is becoming famousManyak is becoming famousManyak is becoming famousManyak is becoming famous
Unique Rep: 430
Folding Team Rank: 427
Trader Rating: 31
Default

Quote:
Originally Posted by Quasimojo View Post
Ok, thanks. That's kind of what I figured. At this point, however, I'm having trouble accessing it either way. I have Windows 2008 Server installed in a VMWare Server virtual machine, and I can't even ping it. I'm not an expert on Windows Server, so I'm have a bit of trouble finding the problem. The network is set up as a "Home Network" right now, as opposed to a "Public Location".
What is the network on the VM as? Host-only, Bridged, or NAT?

Well, whatever it is, set it to Bridged.

System: Obsidian Phoenix
CPU
Ci7 920 D0
Motherboard
E760 Classified
Memory
12GB G.Skill Titan DDR3-2000
Graphics Card
Waiting for HD5870x2
Hard Drive
1x Intel G2, 4x Intel G2, 1x Scorpio Black 320GB
Sound Card
Xonar D2X
Power Supply
Corsair 1000HX
Case
Corsair Obsidian 800D
CPU cooling
Heatkiller 3.0 Copper
OS
Windows 7 Ultimate
Monitor
3x Sony GDM-FW900 24" CRT's
Manyak is online now I fold for Overclock.net Overclocked Account   Reply With Quote
Old 4 Weeks Ago   #9 (permalink)
Database Developer
 
Quasimojo's Avatar
 
intel nvidia

Join Date: Feb 2007
Posts: 513

Rep: 10 Quasimojo Unknown
Unique Rep: 10
Trader Rating: 0
Default

I made sure the VM network settings were set to bridged (I had played with that setting, trying to find the problem). Still no satisfaction. The funny thing is, my wife can ping the VM server fine from her Windows XP laptop. Soooo, it appears to be a problem with my laptop (the host). The problem is, I've bounced around the network settings on my laptop and can't find where the problem could be.

Any ideas?
__________________
"You might be a king, or a little street-sweeper,
But sooner or later, you dance with the Reaper."

-- Grim Reaper, Bill and Ted's Excellent Adventure

System: Sanctuary
CPU
C2D E6300
Motherboard
Asus P5B Deluxe
Memory
2x2GB Corsair XMS2 TwinX PC2 6400 5-5-5-15
Graphics Card
eVGA 8800 GTS 640MB
Hard Drive
Raptor 74GB/8MB - OS, 2x7200.10 250MB RAID 0/1 IMR
Sound Card
AC'97 integrated
Power Supply
OCZ GameXStream 700W
Case
Antec P180
CPU cooling
[stock]
GPU cooling
[stock]
OS
Windows Vista Ultimate 64-bit
Monitor
Acer 22" AL2216WBD LCD
Quasimojo is offline   Reply With Quote
Old 4 Weeks Ago   #10 (permalink)
66MHz
 
Manyak's Avatar
 
intel ati

Join Date: Mar 2008
Posts: 7,056

Rep: 654 Manyak is becoming famousManyak is becoming famousManyak is becoming famousManyak is becoming famousManyak is becoming famousManyak is becoming famous
Unique Rep: 430
Folding Team Rank: 427
Trader Rating: 31
Default

Quote:
Originally Posted by Quasimojo View Post
I made sure the VM network settings were set to bridged (I had played with that setting, trying to find the problem). Still no satisfaction. The funny thing is, my wife can ping the VM server fine from her Windows XP laptop. Soooo, it appears to be a problem with my laptop (the host). The problem is, I've bounced around the network settings on my laptop and can't find where the problem could be.

Any ideas?
Ok, lets go over the simple stuff first:
- Turn off any Firewall software on both the host and VM
- Make sure there's no proxy set in Internet Explorer
- Make sure they're both on the same subnet
- Make sure the server has a static IP (and/or DHCP reservation)
- Flush the NETBIOS cache (nbtstat -R) and ARP cache (arp -d *) and then disable/re-enable the network adapters on both the host and VM

That should get any basic connectivity issues out of the way at least, then we can concentrate on narrowing it down

System: Obsidian Phoenix
CPU
Ci7 920 D0
Motherboard
E760 Classified
Memory
12GB G.Skill Titan DDR3-2000
Graphics Card
Waiting for HD5870x2
Hard Drive
1x Intel G2, 4x Intel G2, 1x Scorpio Black 320GB
Sound Card
Xonar D2X
Power Supply
Corsair 1000HX
Case
Corsair Obsidian 800D
CPU cooling
Heatkiller 3.0 Copper
OS
Windows 7 Ultimate
Monitor
3x Sony GDM-FW900 24" CRT's
Manyak is online now I fold for Overclock.net Overclocked Account   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 08:20 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.13305 seconds with 8 queries