New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Account provider Bind DN validation error #6534
Comments
the good practice is to use the user principal name (UPN) , the proposed format is inherited of NETBIOS and limited to 15 characters. Not sure but it could bring more issues than we want to solve. Some characters are prohibited too like |
We send to the API
but the api prints
/usr/libexec/nethserver/api/system-accounts-provider/validate print $data['BindDN' = The culprit is there |
Escapeshellarg inputs of UI for bind DN validation NethServer/dev#6534
QA test the bug is not more reproducible, you can use a netbios way to set an AD user : |
The bug is not reproducible 👍 |
closed as released |
The
Edit provider
input form fails to validate the Bind DN / password credentials against a remote AD accounts provider.Steps to reproduce
DOMAIN\user
Bind DN syntaxExpected behavior
The credentials must be accepted in both
DOMAIN\user
anduser@realm
formActual behavior
That Bind DN
DOMAIN\user
syntax is rejected.Instead if
user@realm
form is used the password is accepted.The remote MS AD provider accepts both forms:
Note that both DN syntaxes map to the same user name.
Components
nethserver-sssd-1.7.1-1.ns7.noarch
Thanks to @lucagasparini
The text was updated successfully, but these errors were encountered: