Ubuntu – Samba user login

sambaUbuntuuser-accounts

some help needed.

I have/manage a samba share at work. It works fine for everyone except one user. I've tried all I can think now, so now I hope for some new input.

$smbclient --list LOCALHOST

as my user works fine.

$smbclient --list LOCALHOST --user charlottepa

just gives me "session setup failed: NT_STATUS_LOGON_FAILURE".

any other user works just fine, but not this one. I've tried to set the password again with both "passwd" and "smbpasswd -a" and restarted the smbd after the change. No luck.

tail /var/log/samba/log.172.20.107.5 (the localhost)

[2015/09/15 17:14:09.756209,  0] ../source3/smbd/smbXsrv_session.c:1265(smbXsrv_session_update)
  smbXsrv_session_update: global_id (0xefcb8bb0) store failed - NT_STATUS_INVALID_PARAMETER
[2015/09/15 17:14:09.756269,  0] ../source3/smbd/sesssetup.c:374(reply_sesssetup_and_X_spnego)
  smb1: Failed to update session for vuid=62513 - NT_STATUS_INVALID_PARAMETER

How can I reset her access so that she can use or samba share again?

Server=[Samba 4.1.6-Ubuntu]
It's an Ubuntu 14.04 LTS server. (3.13.0-62-generic)

Best Answer

I finally manage to solve the problem. Using "pdbedit -L" I found that names containing Swedish characters didn't display properly. And after changing them with "pdbedit -r --fullname" it now works. I did write the same name again, but now they display correctly. So it looks like perhaps Samba changed the encoding for the user database.

Maybe this can help someone else.