Bug 4711 - smbpasswd: unable to connect to SMB server on machine 127.0.0.1. Error was : SUCCESS - 0.
smbpasswd: unable to connect to SMB server on machine 127.0.0.1. Error was : ...
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
3.0.25a
All Linux
: P3 minor
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
http://bugs.debian.org/155345
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-19 12:16 UTC by Debian samba package maintainers (PUBLIC MAILING LIST)
Modified: 2007-06-20 19:01 UTC (History)
1 user (show)

See Also:


Attachments
Patch (12.33 KB, patch)
2007-06-20 12:24 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Debian samba package maintainers (PUBLIC MAILING LIST) 2007-06-19 12:16:35 UTC
Hello,

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.
Comment 1 Jeremy Allison 2007-06-20 12:24:28 UTC
Created attachment 2775 [details]
Patch
Comment 2 Jeremy Allison 2007-06-20 12:25:09 UTC
Cause cli_connect to return NTSTATUS fixes this.
Too big a change for 3.0.25b, will be in future releases.
Thanks !
Jeremy.