Project

General

Profile

Bug #8041

samba shouldn't listen on a /32

Added by Josh Paetzel over 5 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Nice to have
Assignee:
John Hixson
Category:
OS
Target version:
Seen in:
TrueNAS - 9.2.1.9-RELEASE
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

When you pick a carp interface to listen on, use the netmask of the parent interface, not the /32 of the carp when creating the listen line in smb4.conf

As an example, if igb0 is 10.5.30.4/16 and carp0 is 10.5.30.100/32 generate a line that says listen = 10.5.30.100/16

Associated revisions

Revision 101fe32c (diff)
Added by John Hixson over 5 years ago

Change get_interface_info to not use pipes in pipeopen() - This doesn't work in TrueNAS, I'm unsure why - This commit is about the carp methods, code will follow that uses them Ticket: #8041

Revision 467beeec (diff)
Added by John Hixson over 5 years ago

Set netmask on carp IP addresses from parent interface - This allows netbios name resolution to work Ticket: #8041

Revision 0e5ce729 (diff)
Added by John Hixson over 5 years ago

Change get_interface_info to not use pipes in pipeopen() - This doesn't work in TrueNAS, I'm unsure why - This commit is about the carp methods, code will follow that uses them Ticket: #8041 (cherry picked from commit 101fe32ce8d9e4f8c201724b57a49a692a62bc2f)

Revision 033359ec (diff)
Added by John Hixson over 5 years ago

Set netmask on carp IP addresses from parent interface - This allows netbios name resolution to work Ticket: #8041 (cherry picked from commit 467beeec4f8809c03410c9530640d50992fb1fd1)

History

#1 Updated by Josh Paetzel over 5 years ago

  • Priority changed from Nice to have to Expected
  • Target version changed from 9.3-RELEASE to 176

#2 Updated by Jordan Hubbard over 5 years ago

9.2.1.11? Oh dear, I'm sad. Is it the intention to copy this ticket into the 9.3-RELEASE target so we don't forget it there?

#3 Updated by John Hixson over 5 years ago

  • Status changed from Unscreened to Screened
  • Priority changed from Expected to Nice to have

I'll finish this up tomorrow.

#4 Updated by John Hixson over 5 years ago

I didn't get much of a chance to do this today, looks like tomorrow.

#6 Updated by John Hixson over 5 years ago

This needs merging into TrueNAS and testing, will do so next week.

#7 Updated by Jordan Hubbard over 5 years ago

  • Project changed from TrueNAS to FreeNAS
  • Category deleted (41)
  • Target version deleted (176)

#8 Updated by Jordan Hubbard over 5 years ago

  • Category set to 57
  • Status changed from Screened to Ready For Release
  • Target version set to Unspecified

#9 Updated by Jordan Hubbard over 5 years ago

  • Status changed from Ready For Release to Resolved

#10 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

  • Target version changed from Unspecified to N/A

Also available in: Atom PDF