Certain user can't authenticate over CIFS anymore

Status
Not open for further replies.

MadsRC

Dabbler
Joined
Jul 14, 2013
Messages
20
I had to test a few things in my new FreeNAS setup, so I rebooted my server (Testing UPS).

After it came backup up, I couldn't log into my CIFS shares from either Debian or Windows 7.

Debian throws a: "mount error(13): Permission Denied"
Windows 7 just plain refuses to let me log in with that username.

Tried logging in to the share as another user, worked fine...
Then I tried to SSH into the server - Success - Which means the password is correct...

I even tried updating the SMBpassword for the user in the terminal, but to no avail... Also tried deleting and readding the user (With same UID).

Finally, I tried the IRC channel, but no answers.

Anyone ever had this happening to them?

/var/log/samba/log.smbd
Code:
[2013/07/16 19:05:20.069045,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:06:12.937022,  1] smbd/service.c:1378(close_cnum)
  virtual-win7 (192.168.42.137) closed connection to service data
[2013/07/16 19:07:19.430447,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:07:19.434493,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:07:19.438370,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:07:19.442310,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:07:19.447750,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:07:19.451929,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:07:19.456009,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:07:19.460091,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:10:37.596275,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:10:37.600198,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:10:37.604043,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/07/16 19:10:37.608042,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
 

MadsRC

Dabbler
Joined
Jul 14, 2013
Messages
20
Now I've also tried resetting permissions on the datasets, deleting the shares, setting the permissions back on the datasets and recreating the share. - Same problem.

Noone have any ideas what might cause this?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Permissions are a typical bane for new users. As such they are very hard to troubleshoot. There's so many questions (AD, local users, LDAP) and if it is even setup properly, local permissions for the files/folders, CIFS settings, potential network issues with both hardware and software, issues with the client settings, antivirus limiting mounts and more that it's something that I personally don't mess via forums because its so difficult to troubleshoot and identify. We've had people that typed one password on FreeNAS and another on the client and it took him 3 days to realize caps lock was his problem.

The best advice I can give it to start off with using "guest" accounts and get that working, then slowly add more complexity and learn for yourself how all this stuff works. There are some guides out there that can help you learn all this stuff. As a noob when stuff doesn't work you're stuck with trying to figure out what in particular is broken. And that's not trival.
 

markmuehlbauer

Dabbler
Joined
Dec 21, 2017
Messages
14
Connectivity between the VERY different environments is still primitive at best. I am also wrestling with connectivity on simple local account authentication.
FreeNAS is just simply not a good product in this area, at this time.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Status
Not open for further replies.
Top