CFPropertyList-1.0.4 from Here – Note this needs to be modified to allow strings to be loaded, see This post for details.– 10.5.8 server) It will probably work on 5.0 and above PHP >=5.2.6 (that’s what my test system is on.Please see here for my class documentation Please feel free to enhance the DSS classes’ functions, but if you do please let me know so that it may be added to this class for all to make use of. The changes required to this class are documented there, if you have any questions about this modification, please ask me. This class however, needs to be modified to allow the loading of a plist string ( My feature request). This new version deprecates the use of the xml class files and xml templates, instead it uses the CFPropertyList class from google code. It also means that if you apply and workflows at the computer level (and not the group level) the changes will be lost on the next sync. This method means that if you moved computers (into different groups) this changed would be updated in DSS. Delete computers from DSS from list generate in step 8. Add all computers to DSS from list generated in step 6ġ0. From above 2 lists, generate 1 other list => list of computers in DSS not in WGMĩ. Delete groups in DSS that are in DSS and not in WGM.Ĩ. Add groups into DSS that are in WGM and not in DSS.ĥ. From above 2 lists, generate 2 other lists => list of groups in WGM and not in DSS, list of groups in DSS and not in WGMĤ. Generate list of groups in Deploy Studioģ. Generate list of groups in workgroup managerĢ. I have modified the script now to sync the groups and computers. It does not currently ‘sync’ the group membership info, but it may well do that already, I have just not tested it yet. Using this class in combination with a bit of dscl scripting, it is possible to ‘mirror’ the group membership of Workgroup Manager (WGM) on OS X server with DSS. DSS uses a web service which, apart from the web page itself, doesn’t appear to be documented anywhere.Īfter trial and error (using wireshark and my hex editor 0圎D) I have managed to get a DSS php class together. I have been mucking around with getting information in and out of Deploy Studio Server(DSS).
0 Comments
Leave a Reply. |