[Samba] ntlm_auth not returning "STATUS_OK"
Mark Foley
mfoley at novatec-inc.com
Mon Jan 22 16:00:17 UTC 2024
I have scripts that runs ntlm_auth. Before upgrading my DC to 4.18.9 I would
get text string output from the ntlm_auth command. For example:
STATUS_NO_SUCH_USER
NT_STATUS_WRONG_PASSWORD
STATUS_OK
My script(s) look for these strings.
Now with the new Samba, the first two strings are output as usual in the case of
non-existant user and invalid password, respectively, but if the user/pw is OK
it now returns the string: ": (0x0)", which, I suppose, is the exit status of
the ntlm_auth command meaning OK.
Is there an option to change this back to the string "STATUS_OK"? If not, I'll
change my programs, but I'd rather not do that.
Thanks --Mark
More information about the samba
mailing list