Skip to main content
Question

Capturing ARD custom fields and mapping to the database

  • May 5, 2009
  • 1 reply
  • 0 views

Forum|alt.badge.img+24

Hi-

So I made an application that prompts the user to enter their computer's asset tag which then sets that value to ARD custom field 1 with
defaults write /Library/Preferences/com.apple.RemoteDesktop Text1 466049

In looking in the system preferences/sharing/remote management/computer settings I see that the value was set correctly (466069 in this case).

In the JSS, in Admin/Inventory Options/Inventory Preferences, I set ARD Field #1 to map to recon field "Asset Tag."

Next I did a sudo jamf recon to see if the asset tag number was picked up and inserted into the JSS and it was not inserted.

Am I doing something wrong or does this function just not work the way I'm expecting? I tried it with Remote Management both on and off.

j
---
Jared F. Nichols
Desktop Engineer, Infrastructure and Operations
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

1 reply

Forum|alt.badge.img+24
  • Author
  • Valued Contributor
  • 1892 replies
  • May 5, 2009

I figured it out :)

I called Jamf Support and the ARD custom fields isn't something that jamf binary will grab - you have to use the GUI. So instead, I'll be using the -assetTag option on the jamf binary to take what the user inputted and pass it straight to the jamf binary's -assetTag option instead.

Much simpler than mapping the ARD custom field, IMHO.

j


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings