How do I know if I'm not authenticated

  • Thread starter Thread starter Guru yeleswarapu
  • Start date Start date
G

Guru yeleswarapu

If login to my domaain on XP/Vista witout LAN connection. Is there anyway I
can programmatically find out if I'm not authentocated to the domain? If I
plug in the LAN connection after I login ,looks like client is implicitly
autenticating with DC.If I do set on command prompt before and after I plug
in wire cached credentails (in set) they are teh same .ie domain name, user
name etc.,


I apprecite any help in this regard.

Thanks
 
If you can ping the IP of your DC after login, you are connected and can be
freshly authenticated.

If you can't login, your cached credentials are no longer valid.

Otherwise you are authenticated to a domain you can't communicate with - but
you can access folders on your local machine belonging to me.mydomain

Does this clear anything up? Or have I misunderstood your question?
 
Thanks for the reply. It does answer somewhat.
Requirement is to not to send out any additional protocol packets besides
what OS sends out to confirm if user is authernticated to domain.

In my example as I mentioed- I can login to my laptop without LAN
connection. But the cached crednetails are not authenticated by domain. Is
there any way I can finout locally that cached credentails are NOT
authenticated. As you mentioned if I ping to DC I will know if I'm able to
reach DC or not. That gives clue. But as I said idea is to not to reach DC
explicitly using any API.


I hope this helps to understand requirement.

Thanks
Guru
 
Back
Top