Bug 4711 - smbpasswd: unable to connect to SMB server on machine 127.0.0.1. Error was : SUCCESS - 0.
Summary: smbpasswd: unable to connect to SMB server on machine 127.0.0.1. Error was : ...
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.25a
Hardware: All Linux
: P3 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL: http://bugs.debian.org/155345
Keywords:
Depends on:
Blocks:
 
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.