when you use smbpasswd as user without runing smbd you get:
$ LC_ALL=C smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
Error connecting to 127.0.0.1 (Connection refused)
unable to connect to SMB server on machine 127.0.0.1. Error was : SUCCESS - 0.
Password changed for user noel
it says "SUCCESS" but its still the old password.
Created attachment 2775 [details]
Cause cli_connect to return NTSTATUS fixes this.
Too big a change for 3.0.25b, will be in future releases.