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
Post a Comment