getsmbfilepwent: malformed password entry (uid not number)

Ameet Chaubal achaubal at
Tue Apr 13 16:23:05 GMT 1999

Hi all

I am sure that there is some mention of this error in the docs somewhere but
I could not find it.
So, sorry for repeating it here.

I have installed samba 2.0.3 on solaris 2.5.1
I carried out all the tests described in the documentation. They were all
Bu from an NT server I can't do this

net use z: \\server_name\\tmp

System error 86 has occurred
The specified network passwd is not corrent

In the log files I have following lines.

[1999/04/13 12:17:21, 0] passdb/smbpass.c:getsmbfilepwent(184)
  getsmbfilepwent: malformed password entry (uid not number)
[1999/04/13 12:17:21, 1] smbd/password.c:pass_check_smb(500)
  Couldn't find user 'foobar' in smb_passwd file.
[1999/04/13 12:17:21, 3] smbd/error.c:error_packet(138)
  error packet at line 781 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
[1999/04/13 12:17:21, 3] smbd/error.c:error_packet(143)
  error string = No such file or directory

I do have the smbpasswd file in the private directory with the correct user.
There is no uid with a negative number.

Please Help

thank you

Ameet Chaubal

More information about the samba mailing list