Skip to content

Commit

Permalink
Merge pull request #53 from ChrOst/master
Browse files Browse the repository at this point in the history
default to port 445 using smb
  • Loading branch information
sheagcraig authored Jul 2, 2016
2 parents 3e44c7e + 2a98e0d commit 0742e1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jss/distribution_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def _build_url(self):
def _mount(self):
"""Mount based on which OS is running."""
# mount -t cifs -o \
# username=<user>,password=<password>,domain=<domain>,port=139 \
# username=<user>,password=<password>,domain=<domain>,port=445 \
# //server/share /mnt/<mountpoint>
if is_osx():
if mount_share:
Expand Down
4 changes: 2 additions & 2 deletions jss/distribution_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ def _get_explictly_configured_dp(self, repo):
jss=self.jss)
elif connection_type == "SMB":
# If port isn't given, assume it's the std of
# 139.
port = repo.get("port", "139")
# 445.
port = repo.get("port", "445")
dpt = SMBDistributionPoint(
url=url, port=port, share_name=share_name,
mount_point=mount_point, domain=domain, username=username,
Expand Down

0 comments on commit 0742e1a

Please sign in to comment.