Malformed Lanman password entry (non hex chars)

Luke Kenneth Casson Leighton lkcl at switchboard.net
Thu Mar 25 12:48:59 GMT 1999


On Thu, 25 Mar 1999, David Krovich wrote:

> 	Ok, I'm having some weirdness going on....
> 
> 	I'm creating a smbpasswd file consisting of just me using the
> following command:
> 
> niscat passwd.org_dir | grep dkrovich | cut -f1-7 -d: | mksmbpasswd.sh > smbpasswd
> 
> The output looks like this:
> 
> dkrovich:3685:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U          ]:LCT-00000000:David Krovich
> 
> 	When I run smbpasswd on the user dkrovich as root to change the 
> password, I get the following error.  (Debug level is set to 10)
> 
> # smbpasswd dkrovich
> 
> <--lots of debugging cut out -->
> New SMB password:
> Retype new SMB password:
> search by name: dkrovich
> startfilepwent: opening file /sys/pdcsamba/private/smbpasswd
> getsmbfilepwent: Malformed Lanman password entry (non hex chars)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

i just spotted and fixed this myself.  checkin later today.



More information about the samba-ntdom mailing list