I am currently trying to link my intranet to an DC and user LDAP to log in my users.
I have worked out how to querry AD, but no luck on authenticating them. what i was planning on doing was, find the current user, then querry LDAP and see if that user assist, if so then let them on, other wise, not let them on.
So, what i am trying to find out, is if this is the best way, how do i find the current user in windows from ASP vbscript or if this is not the best way, then how would i be best doing it.
No, running on the same subnet, 255.255.255.254 ip ranges does differ though from 192.168.1.x to 192.168.0.x
Will that make a difference?
firefoxchris
Im not a networking expert but i think that means they are on a different subnet under the same mask, so i would have thought it would make a difference.
They are all on my network. i tried the above, but it brings nothing back. All i got was an emty entry.
But as i don't need to link to LDAP then, is there another way, ie, look into the wmi or the winmgmts? or is this a slow way of doing things?