Project

General

Profile

Bug #76045

Home folders for Active Directory users are unavailable for users after updating from 11.2-Stable to 11.2 U2-Stable

Added by Bug Clerk 6 months ago. Updated 6 months ago.

Status:
Done
Priority:
No priority
Assignee:
Andrew Walker
Category:
Middleware
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Updated to 11.2 U2 this morning and after that users can't access their homefolders anymore. It feels very much like Bug #70950 and it feels like it's something related to the update of Samba.

The weird thing is that other SMB shares on the same freenas box is working perfectly.
I thought of maybe removing the freenas from the domain would help but as other shares are working and the fact that I can list domain users/groups with getent I doubt it would help.

Looking at /var/log/samba4/log.smbd I found this (update was performed just a few minutes earlier):

[2019/02/18 16:17:29.863724, 0] ../source3/lib/util_sock.c:876(matchname)
matchname: host name/name mismatch: 172.16.11.181 != (NULL)
[2019/02/18 16:17:29.863823, 0] ../source3/lib/util_sock.c:1055(get_remote_hostname)
matchname failed on 172.16.11.181
[2019/02/19 07:48:57.952003, 0] ../source3/lib/util_sock.c:876(matchname)
matchname: host name/name mismatch: 172.16.11.181 != (NULL)
[2019/02/19 07:48:57.967726, 0] ../source3/lib/util_sock.c:1055(get_remote_hostname)
matchname failed on 172.16.11.181
[2019/02/19 07:59:43.760531, 1] ../source3/profile/profile_dummy.c:30(set_profile_level)
INFO: Profiling support unavailable in this build.

[2019/02/19 07:59:44.131365, 1] ../source3/smbd/files.c:218(file_init_global)
file_init_global: Information only: requested 233750 open files, 59392 are available.
[2019/02/19 07:59:44.144054, 0] ../lib/util/become_daemon.c:138(daemon_ready)
daemon_ready: STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2019/02/19 07:59:44.836994, 0] ../source3/lib/util_sock.c:875(matchname)
matchname: host name/name mismatch: 172.16.11.181 != (NULL)
[2019/02/19 07:59:44.837044, 0] ../source3/lib/util_sock.c:1054(get_remote_hostname)
matchname failed on 172.16.11.181
[2019/02/19 07:59:53.840154, 1] ../source3/smbd/service.c:357(create_connection_session_info)
create_connection_session_info: user 'HOME\como' (from session setup) not permitted to access this share (como)
[2019/02/19 07:59:53.840241, 1] ../source3/smbd/service.c:529(make_connection_snum)
create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2019/02/19 07:59:53.853180, 1] ../source3/smbd/service.c:357(create_connection_session_info)
create_connection_session_info: user 'HOME\como' (from session setup) not permitted to access this share (como)
[2019/02/19 07:59:53.853211, 1] ../source3/smbd/service.c:529(make_connection_snum)
create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2019/02/19 07:59:53.983516, 1] ../source3/smbd/service.c:357(create_connection_session_info)
create_connection_session_info: user 'HOME\como' (from session setup) not permitted to access this share (como)
[2019/02/19 07:59:53.983557, 1] ../source3/smbd/service.c:529(make_connection_snum)
create_connection_session_info failed: NT_STATUS_ACCESS_DENIED

I attached a debug as well.


Related issues

Copied from FreeNAS - Bug #75883: Fix "valid users" parameter for [homes] in Samba 4.9Done

History

#1 Updated by Bug Clerk 6 months ago

  • Copied from Bug #75883: Fix "valid users" parameter for [homes] in Samba 4.9 added

#2 Updated by Bug Clerk 6 months ago

  • Target version changed from Master - FreeNAS Nightlies to 11.3-BETA1

#3 Updated by Bug Clerk 6 months ago

  • Status changed from Unscreened to In Progress

#4 Updated by Bug Clerk 6 months ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne 6 months ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3-BETA1 to Master - FreeNAS Nightlies
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF