I am in a position where I am working with some very basic AD authentication. Basically as long as I can bind with some credentials, I consider a user authenticated with AD and I'm done. The difficult thing is I don't have access to the AD server and know very little about AD in general. So I cannot answer my own simple question and my requirement is kind of odd.
I need to let a user manually log in (by typing a user name and password) to a different AD login via LDAP than they are currently logged in as in Windows through a Chrome browser. So they are "authenticated" via NTLM, but now they can log in as someone else. Yes, weird, but that's the requirement.
From the initial NTLM process between the browser and Node.js, I get the URL to the AD and I get 3/4 attributes that I think I need.
I get 3 DC
attributes which match what I expect, but I don't get the CN
which in my case is CN=Users
. Basically it looks something like
CN=Users,DC=ABC1,DC=ABC2,DC=ABC3
But from the initial NTLM I don't get the CN=Users
anywhere.
So to my question! In AD is the folder that contains users always called Users
? Or am I a bit screwed since I cannot obtain that final CN
value from the initial NTLM process. Maybe there is another NTLM message I can send to get more info?
Thanks.