Posted on 02-19-2010 10:32 AM
Hi,
Does anyone know how one could retrieve a machine's default distribution
point through shell? I can't find a way using the jamf binary and I don't
really want to query the jss database directly.
John McLaughlin
Technical Support Specialist
Newton Public Schools
Posted on 02-19-2010 12:25 AM
I believe you are correct, this is not possible. The binary gets this information each time from the JSS (if available) to determine where it connects. The reason for this is probably related to network segments and load balancing, and a client being allowed to do different policies and install from different distribution points.
Craig E
Posted on 02-19-2010 10:40 AM
I think it's contained in jamf.conf and it's the serverAddress line
Posted on 02-19-2010 10:45 AM
no /etc/jamf.conf only displays the JSS info, not the distribution
point, example:
bash-3.2# cat /etc/jamf.conf #### #### jamf.conf -- JAMF Software Configuration File #### this file will allow the jamf command line binary #### to locate the JSS (JAMF Software Server)
serverAddress = xs001-casper.kckps.org serverPort = 9006 securePort = 8443 serverPath = ssl = true vncPort = 5999 bash-3.2#
I am not sure this is possible, is there a reason you don't want to use
saved advanced inventory searches in the web front end of the JSS?