active directory - Different message when setting password in AD via C# -


so have website wherein 1 of functionalities can create user in ad. now, have multiple domains enforcing password complexity. sure code proceeds exception whenever complexity not met:

newuser.invoke("setpassword", new object[] { password }); 

the problem is, 1 of our domains throws message in browser user:

the password not meet password policy requirements. check minimum password lengths, password complexity , password history requirements

but when using other domain, displays message:

server unwilling process request.

i ask, factors why error messages varying in domains?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -