Can't change smb password via smbpasswd
Michael Glauche
glauche at plum.de
Sun Jul 4 09:23:54 GMT 1999
Hi,
I got a strange problem testing out 2.1.0-prealpha cvs from yesturday.
When I do "smbpasswd <user>" it tells :
Failed to find entry for user <user>.
Failed to change password entry for <user>
my /etc/smbpasswd looks like :
mg:1009:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U
]:LCT-00000000::
li:1024:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U
]:LCT-00000000::
Now I try smbpasswd -D 9999 li :
smbpasswd -D 9999 li
New SMB password:
Retype new SMB password:
search by name: li
startfilepwent: opening file /etc/smbpasswd
getsmbfilepwent: returning passwd entry for unix user mg, unix uid 1009
unixuser:mg uid:1009 acb:10
pwdb_smb_map_names
lookupsmbpwnam: unix user name mg
lookupsmbpwuid: unix uid 1009
initialising map
lookupsmbpwuid: unix uid 1009
endfilepwent: closed file.
pwdb_smb_map_names
Failed to find entry for user li.
Failed to change password entry for li
So it only finds user mg ?! What does "abc:10" mean ?
TIA,
Michael
More information about the samba-ntdom
mailing list