[Samba] smbpasswd -r connecting to old samba not working

Gerald (Jerry) Carter jerry at samba.org
Wed Jun 15 15:52:26 GMT 2005

Hash: SHA1

Wayne Schroeder wrote:
> The error message is on the SERVER though... regardless of the server's
> error bugs or not, the new smbpasswd won't work, yet the old one does...
> so something in smbpasswd or it's supporting libs on the new version 3
> source tree is doing something different I would imagine.
>>On Tue, Jun 14, 2005 at 05:39:01PM -0500, Wayne Schroeder wrote:
>>>I am trying to build 3.0.14a and use it's smbpasswd binary to change
>>>passwords on a remote debian woody samba install -- the samba install on
>>>the remote debian machine is listed as '2.2.3a-15'  I can use the
>>>previous smbpasswd binary from the same version on the client linux
>>>machine to smbpasswd -r and change user passwords, but the new version
>>>from 3.0.14a does not work against the 2.2.3a version.  I get an error
>>>message like:
>>>[2005/06/14 16:45:17, 0] smbd/chgpasswd.c:check_oem_password(817)
>>> check_oem_password: incorrect password length (-177685840).

I would be more inclined to call this a bug in 2.2.3a (on debian
right) ?  Since 2.2 is no longer being maintained, you could try to
track this down own your own or possibly upgrade.

Another method would be to start trying smbpasswd from 3.0.x
releases 3.0.14a and movning backwards to see when the
incompatibility was introduced. We could then look at the svn
logs to try to isolate the change and come up with a workaround.

cheers, jerry
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the samba mailing list