active directory - How to authenticate user by Down-Level Logon Name? -


i using passport-windowsauth middleware authentication.

search user query: (&(objectclass=user)(|(samaccountname={0})(userprincipalname={0}))), means user can found samaccountname or userprincipalname, how search user down-level logon name (domain\username)? or question how should use netbios name in search query? believe, shouldn't skip that.


Comments

Popular posts from this blog

python - RuntimeError: can't re-enter readline -

python - PyInstaller UAC not working in onefile mode -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -