[Samba] users and smbpasswd

James Kosin jkosin at intcomgrp.com
Tue Aug 5 13:56:46 GMT 2003

Dear Thomas Dewar,

Only root can use the '-U' parameter.  Try changing it without the '-U'
option and it should work.

James Kosin

Date: Tue, 05 Aug 2003 12:35:52 +0200
From: Thomas Dewar <tdr at infobi.com>
Subject: Re: [Samba] users and smbpasswd
To: Thomas Dewar <tdr at infobi.com>
Cc: samba at lists.samba.org
Message-ID: <3F2F8888.1070401 at infobi.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Thomas Dewar wrote:

<< snip >>
Hello again, after having solved the previous message i am now
encountering this new one :
When i want to change a user password being connected as this user i get
the following error :
    test at ldap:~$ smbpasswd -r ldap -U test
    Old SMB password:
    New SMB password:
    Retype new SMB password:
    machine ldap rejected the password change: Error was : RAP86: The
specified password is         invalid.
    Failed to change password for test

But when I am root i am allowed to change the password :
    ldap:~#  smbpasswd  -U test
    New SMB password:
    Retype new SMB password:
    Password changed for user test.

Any piece of advice??? (unless i find out myself... ;-) )



James Kosin <jkosin at intcomgrp.com>

International Communications Group, Inc.
200 Enterprise Drive
Newport News, VA 23603-1300
-- United States of America --

Voice:   +1 (757) 947-1030 x122
Fax:      +1 (757) 947-1035

"Walking on water and developing software to specification
are easy as long as both are frozen" - Edward V. Berard.

More information about the samba mailing list