ruby-jss provides native ruby access to the REST APIs of Jamf Pro, an enterprise/education tool for managing Apple devices, from jamf.com. The Jamf module provides access to both APIs. Jamf Pro objects are implemented as classes and interact with each other. Authentication tokens, data format and other details are handled under the hood to allow simpler, intuitive automation of Jamf-related tasks.
Calling JSS::User.make() with just a name throws NoMethodError on line 171, where it assumes that a valid LDAP server has been provided and the appropriate object fetched. As we are not using the LDAP server integration, this prevents us from creating user objects. This change ignores nil LDAP server values.
Doh! My Apologies for not merging this in sooner - other work projects have been insane (well, for over a year now :-) But i'm getting ready to do the next release.
See Issue #87
Calling JSS::User.make() with just a name throws NoMethodError on line 171, where it assumes that a valid LDAP server has been provided and the appropriate object fetched. As we are not using the LDAP server integration, this prevents us from creating user objects. This change ignores nil LDAP server values.