Bug #1384

Host access checks don't work for clients not resolvable via NIS/DNS/LDAP

Added by Yuri Pankov over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2011-08-17
Priority:Normal Due date:
Assignee:Yuri Pankov % Done:

100%

Category:cifs - CIFS server and client Spent time: -
Target version:-
Difficulty:Medium Tags:

Description

Originally posted as http://www.nexentastor.org/issues/121.

The problem here is that we are bailing out after checking the result of __netdir_getbyaddr_nosrv(config, &clnames, &buf) for the clients not resolvable via NIS/DNS/LDAP (http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/smbsrv/libsmb/common/smb_util.c#453).

Proposed patch attached.

libsmb.diff (2.6 kB) Yuri Pankov, 08/17/2011 11:22 pm

History

Updated by Rich Lowe over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Tags deleted (needs-triage)

Resolved in r13464 e73ffd53b1d6

Also available in: Atom PDF