Comment 8 for bug 2002949

Revision history for this message
Michał Małoszewski (michal-maloszewski99) wrote :

I tried to reproduce the issue with the steps you provided.

$ sudo apt install samba-common-bin
$ samba-tool user password --username=Michal --password='123&!(' --newpassword=1234bdt7q6q7wq

The error message is a bit different:

WARNING: Using password on command line is insecure. Please install the setproctitle python module.
ERROR: Failed to change password : (-1073741772, "Connection to SAMR pipe of PDC of domain 'WORKGROUP' failed: NT_STATUS_OBJECT_NAME_NOT_FOUND")

And it does not depend on the metacharacters.
The same error message occurred when I did get rid of the metacharacters.

root@mantic-samba-tool:~# samba-tool user password --username=Michal --password='123' --newpassword=1234bdt7q6q7wq
WARNING: Using password on command line is insecure. Please install the setproctitle python module.
ERROR: Failed to change password : (-1073741772, "Connection to SAMR pipe of PDC of domain 'WORKGROUP' failed: NT_STATUS_OBJECT_NAME_NOT_FOUND")