Authentication
Irish Man
Member Posts: 72 ■■□□□□□□□□
Hey Guys, an off topic exam question.
Does Microsoft provide any command line tool that will provide me with which DC the user is authenticating with ? I have a suspicion that one of my remote sites users are authenticating at my main office DC.
Is there anyway I can prove this ?
Cheers
Colin
Does Microsoft provide any command line tool that will provide me with which DC the user is authenticating with ? I have a suspicion that one of my remote sites users are authenticating at my main office DC.
Is there anyway I can prove this ?
Cheers
Colin
Comments
-
sprkymrk Member Posts: 4,884 ■■■□□□□□□□Run gpresult.exe on the computer.All things are possible, only believe.
-
APA Member Posts: 959Open up command prompt and type SET, A whole heap of info will appear you will specifically be looking for the line LOGONSERVER= \\(Servername)
CCNA | CCNA:Security | CCNP | CCIP
JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
JNCIS:SP | JNCIP:SP -
sprkymrk Member Posts: 4,884 ■■■□□□□□□□A.P.A wrote:Open up command prompt and type SET, A whole heap of info will appear you will specifically be looking for the line LOGONSERVER= \\(Servername)
That didn't work for me, here is what set listed:
C:\WINDOWS\SYSTEM32>set
ALLUSERSPROFILE=
CommonProgramFiles=
COMPUTERNAME=
ComSpec=
FP_NO_HOST_CHECK=
NUMBER_OF_PROCESSORS=
OS=
Path=
PATHEXT=
PROCESSOR_ARCHITECTURE=
PROCESSOR_IDENTIFIER=
PROCESSOR_LEVEL=
PROCESSOR_REVISION=
ProgramFiles=
PROMPT=
RoxioCentral=
SystemDrive=
SystemRoot=
TEMP=
TMP=
USERDNSDOMAIN=
USERDOMAIN=
USERNAME=
USERPROFILE=
windir=
I only mention it because I had never heard of it doing that with the set command, so I thought I would try it. Using XP Pro SP2 on W2K3 domain, if that makes a difference. Thanks.All things are possible, only believe. -
BeaverC32 Member Posts: 670 ■■■□□□□□□□I've never heard of that either, but I tried it, and sure enough, it worked. I am also using XP Pro SP2 on a W2K3 domain.MCSE 2003, MCSA 2003, LPIC-1, MCP, MCTS: Vista Config, MCTS: SQL Server 2005, CCNA, A+, Network+, Server+, Security+, Linux+, BSCS (Information Systems)
-
elover_jm Member Posts: 349It actually work guys.............. at least for it did
running XP pro sp2 -
APA Member Posts: 959sprkymrk wrote:That didn't work for me, here is what set listed:
C:\WINDOWS\SYSTEM32>set
ALLUSERSPROFILE=
CommonProgramFiles=
COMPUTERNAME=
ComSpec=
FP_NO_HOST_CHECK=
NUMBER_OF_PROCESSORS=
OS=
Path=
PATHEXT=
PROCESSOR_ARCHITECTURE=
PROCESSOR_IDENTIFIER=
PROCESSOR_LEVEL=
PROCESSOR_REVISION=
ProgramFiles=
PROMPT=
RoxioCentral=
SystemDrive=
SystemRoot=
TEMP=
TMP=
USERDNSDOMAIN=
USERDOMAIN=
USERNAME=
USERPROFILE=
windir=
I only mention it because I had never heard of it doing that with the set command, so I thought I would try it. Using XP Pro SP2 on W2K3 domain, if that makes a difference. Thanks.
Sprky thats extremely weird........ The set command always shows the LOGONSERVER and related info... I'll show you what comes up on my home machine.... It isn't connected to a domain but I still get the LOGONSERVER variable shown as the local machine......I have used the Set command at work in our Win2k3 domain and it brings up everything below.....
ALLUSERSPROFILE=
APPDATA=
CLASSPATH=
CLIENTNAME=
CommonProgramFiles=
COMPUTERNAME=
ComSpec=
DEFAULT_CA_NR=
FP_NO_HOST_CHECK=
HOMEDRIVE=
HOMEPATH=
LOGONSERVER
NUMBER_OF_PROCESSORS=
OS=
Path=
PATHEXT=
PROCESSOR_ARCHITECTURE=
PROCESSOR_IDENTIFIER=
PROCESSOR_LEVEL=
PROCESSOR_REVISION=
ProgramFiles=
PROMPT=
QTJAVA=
SESSIONNAME=
SystemDrive=
SystemRoot=
TEMP=
TMP=
USERDOMAIN=
USERNAME=
USERPROFILE=
windir=
It seems that quite a few of your environment variables have been disabled or removed Sprky.........
CCNA | CCNA:Security | CCNP | CCIP
JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
JNCIS:SP | JNCIP:SP -
theseman Member Posts: 230I ran it on a W2k3 SP2 server, and an XP Pro SP2 client.
Both had the LOGONSERVER= parameter. -
sprkymrk Member Posts: 4,884 ■■■□□□□□□□Sure enough, on my home computer (which is in a workgroup) set had the had logonserver variable. I'll have to see what's up with that at work. Thanks.All things are possible, only believe.
-
sprkymrk Member Posts: 4,884 ■■■□□□□□□□Mystery solved.....
I had used a cmd prompt I opened earlier in the day with "runas" for my admin account to do some remote work. Using the "set" command there did not show a logonserver. If I just open a cmd prompt with the user account I logged on with the "logonserver" entry is there.
Sorry for the confusion!All things are possible, only believe. -
APA Member Posts: 959Definately solved the riddle!!!!
Makes sense though...... glad to have pointed out something new to fellow forum members
CCNA | CCNA:Security | CCNP | CCIP
JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
JNCIS:SP | JNCIP:SP -
doom969 Member Posts: 304thats useful, thanksDoom969
__________________________________________________________
MCP (282 - 270 - 284 - 290 - 291 - 293 - 294 - 298 - 299 - 350)
MCTS (351 - 620 - 622 - 647 - 649 - 671)
MCSA / S / M - MCSE / S
MCITP (EST - EA ) - MCT
A+ - IBM - SBSS2K3 - CISCO_SMB
CompTIA : A+