Bug #382

Server mounts its own SMB shares

Added by Hammel about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:31 Aug 2014
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:-
Target version:PiBox - 0.9.0
Severity:01 - Critical

Description

The mount should test if the remote server has the same IP as itself, or some other method of identifying itself.

Associated revisions

Revision 0e135699
Added by Hammel about 3 years ago

RM #382: Added isThisMyIP() to utils that is called from getNMBList() to make sure not to mount the local host's own SMB exports.

History

#1 Updated by Hammel about 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Added isThisMyIP() to utils and call it in smb.c:getNMBList() to avoid mounting the local machine's SMB exports. This seems to work well on the server. Need to test that it has no ill effect on the client.

#2 Updated by Hammel about 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Verified working on both server and client. All changes committed and pushed upstream.

Closing issue.

Also available in: Atom PDF