Koozali.org: home of the SME Server

User password problem with SMB

Mike

User password problem with SMB
« on: May 20, 2002, 09:02:44 AM »
I suddenly started getting the following error messages:

[2002/05/20 02:20:54, 1] smbd/password.c:pass_check_smb(497)
  Couldn't find user 'username      ' in UNIX password database.

It started today, but nothing has changed. I tried changing the user password, but that didn't fix it.

Anyone seen this before? Any ideas how to fix it?

Thanks

Nathan Fowler

Re: User password problem with SMB
« Reply #1 on: May 21, 2002, 01:48:09 AM »
Note that the log you are seeing is someone attemping to login as "username" with either no password or an invalid password.  Nothing is broken, this was probably a local user attempting to gain access to a password protected share or someone not knowing what they are doing using the username of 'username'.  Samba is not broken and is functioning normally.

Surely you do not have an account called 'username'.

Mike

Re: User password problem with SMB
« Reply #2 on: May 21, 2002, 07:38:21 PM »
No I don't. The username was being entered with several trailing blank spaces, hence the 'username    '. However, the password was being entered correctly, and even when the user entered the username correctly, the error still occurred. It seems like Windows was caching the username that was being logged in and continued to use the old one (with the trailing spaces) even when the correct username was being used.

Thanks

Nathan Fowler

Re: User password problem with SMB
« Reply #3 on: May 21, 2002, 08:02:24 PM »
What is the remote machine type?  Windows 95/98/NT/2000/XP?  Give me the OS if you would.