Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Shea Craig committed Feb 2, 2015
1 parent bc0b644 commit 3d2a8df
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
### 0.5.4 (December 9, 2014) Apex Predator
### 0.5.5 (February 2, 2015) Sanpo Shimasu

FIXES:

- Automatically configured distribution points (AFP and SMB shares using just name and password) need to pass jss object so ```jss_migrated``` is handled correctly. (sheagcraig/JSSImporter#19)

### 0.5.4 (January 29, 2015) Apex Predator

FIXES:

Expand Down
2 changes: 1 addition & 1 deletion jss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
JSSUnsupportedSearchMethodError, JSSFileUploadParameterError,
JSSUnsupportedFileType)

__version__ = "0.5.4"
__version__ = "0.5.5"
12 changes: 8 additions & 4 deletions jss/distribution_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,15 @@ def __init__(self, jss):
dp = AFPDistributionPoint(URL=URL, port=port,
share_name=share_name,
mount_point=mount_point,
username=username, password=password)
username=username, password=password,
jss=self.jss)
elif connection_type == 'SMB':
dp = SMBDistributionPoint(URL=URL, port=port,
share_name=share_name,
mount_point=mount_point,
domain=domain, username=username,
password=password)
password=password,
jss=self.jss)

# No need to keep looping.
break
Expand Down Expand Up @@ -158,7 +160,8 @@ def __init__(self, jss):
share_name=share_name,
mount_point=mount_point,
username=username,
password=password)
password=password,
jss=self.jss)
elif connection_type == 'SMB':
# If port isn't given, assume it's the std of
# 139.
Expand All @@ -168,7 +171,8 @@ def __init__(self, jss):
mount_point=mount_point,
domain=domain,
username=username,
password=password)
password=password,
jss=self.jss)

elif repo.get('type') == 'JDS':
dp = JDS(jss=self.jss)
Expand Down

0 comments on commit 3d2a8df

Please sign in to comment.