jamf

4

Solutions

15

Contributors

Jamf Pro is a comprehensive enterprise management software developed for the Apple platform in order to simplify IT management for Mac, iPad, iPhone and Apple TV.

Share tech news, updates, or what's on your mind.

Sign up to Post

So i'm trying to setup an LDAP server that will be allowed to query from JAMF Pro's Cloud Instance. I've installed and made a unique instance for AD LDS on a server that doesn't do Active Directory Domain Services but now i'm stuck on what to do next?

Do i import the ntds.dit file into the AD LDS is there a way to link the AD LDS server to the AD DS server to get the AD information?
How am i proceed from here? Do i need to make new tcp/ldap access rules in the firewall to allow traffic out and into our server?

Whole point is to setup a Server that has LDAP services on it that reflects our Active Directory and is able to translate and make queries on the internet via ports: 80,443,389 and JAMF Pro's port 8389 and our active directory is integrated into the Jamf Pro Cloud Instance.
NJNYMDT.png
ldifde--i.png
0
Please reference the solution to my previous question:

PowerShell:  Move from using arrays/looping into objects/pipelining

This has been working on the inital data sets but these were quite small.  Now that the QA team is actually loading devices, the script fails to write the results to the file.  Here is the current code:
# Get all mobile devices from JAMF
$JAMFfile = $FilePath + "\JAMF_Prod.csv"

$BaseURL = "https://" + $JAMFAPIServer + "/JSSResource/mobiledevices"
$Header = @{"Authorization" = "Basic "+[System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($JAMFAPIUser+":"+$JAMFAPIPassword))}
$Type = "application/json;charset=UTF-8"


Try 
{

    $MobileDeviceResponse = Invoke-Restmethod -Uri $BaseURL -Method GET -ContentType $Type -Headers $Header
    $MobileDeviceResponse.mobile_devices.mobile_device |
        Select-Object -Property name, 
                         id,
                         serial_number,
                         model,
                         @{n="department";e={ 
                                (Invoke-Restmethod -Uri "$BaseURL/id/$($_.id)/subset/location" -Method GET -Headers $Header).mobile_device.location |
                                 Select-Object -ExpandProperty department}},
                         @{n="building";e={ 
                                (Invoke-Restmethod -Uri 

Open in new window

0

jamf

4

Solutions

15

Contributors

Jamf Pro is a comprehensive enterprise management software developed for the Apple platform in order to simplify IT management for Mac, iPad, iPhone and Apple TV.

Top Experts In
jamf
<
Overall
>