Bug #1384

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

Added by Yuri Pankov almost 7 years ago. Updated over 6 years ago.

Status:ResolvedStart date:2011-08-17
Priority:NormalDue date:
Assignee:Yuri Pankov% Done:


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


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 Magnifier (2.56 KB) Yuri Pankov, 2011-08-17 11:22 PM


#1 Updated by Rich Lowe over 6 years ago

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

Resolved in r13464 commit:e73ffd53b1d6

Also available in: Atom