problems with smbpasswd in samba-2.0.2+

Tom Lieuallen toml at ENGR.ORST.EDU
Thu Mar 11 22:44:56 GMT 1999


I am having difficulties with smbpasswd in samba 2.0.2 and 2.0.3
on a Solaris 2.6 machine.  The same config file and the smbpasswd
binary from samba 1.9.18p10 works just fine.

order 26% ./smbpasswd -r hera -D 4
Old SMB password:
New SMB password:
Retype new SMB password:
resolve_name: Attempting wins lookup for name hera<0x20>
bind succeeded on port 0
nmb packet from 128.193.54.101(137) header: id=12269 opcode=Query(0) response=No
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=No
    header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
    question: q_name=HERA<20> q_type=32 q_class=1
nmb packet from 128.193.54.101(137) header: id=12269 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=HERA<20> rr_type=32 rr_class=1 ttl=0
    answers   0 char `...6e   hex 600080C13665
Got a positive name query response from 128.193.54.101 ( 128.193.54.101 )
Connecting to 128.193.54.101 at port 139
machine hera rejected the password change: Error was : User has insufficient privilege.
Failed to change password for tomltest



Here are the relevant portions of the config file:

[global]
   security = domain
   encrypt passwords = true
   guest account = samba
   name resolve order = wins host
   workgroup = ENGINEERING
   password server = hera

And the user certainly does have priveleges to change its password.
I was able to successfully change it with the older version.

    Password last set            3/11/99 2:11 PM
    Password expires             Never
    Password changeable          3/11/99 2:11 PM
    Password required            Yes
    User may change password     Yes

Thanks in advance for any ideas or help.

---------------------------------------------------------------------------
Tom Lieuallen                                        Phone: 541.737.6784
Oregon State University                              Fax:   541.737.1805
College of Engineering                               Email: toml at engr.orst.edu
Network Research Assistant


More information about the samba mailing list