This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mac OS - pre-configuring Autoupdate

We have quite a number of Macs (not surprising at a university) but no official Mac support. Nevertheless we offer Sophos for Macs (in a downloadable .zip archive).  

When Sophos is installed on a Mac on our network it connects to the management server from where it gets the update policy (the CIDs contain the correct mrinit.conf for RMS to work). Of course this does not work if the Mac is used at home. For windows PCs putting sauconf.xml placed in the appropriate directory does the trick. There are some articles in the knowledgebase but usually a Mac is required with which you can configure the CID (if I understand correctly). I believe no magic is actually involved and the configuration is stored somewhere in a .plist file (XML format). I suspect that the catalogues are involved and configcid.exe does not support a CID for OSX.

Or is there a "simple" way to pre-configure autoupdate (even if it's unsupported)? sau.plist looks suspicous  :smileywink:

Christian

:518


This thread was automatically locked due to age.
Parents
  • I've just discovered that CreateUpdatePreconfig will throw an error for passwords using special characters- I'm not sure if this is intentional, but running it from the commandline with a password like "#thisisapassword" (without quotes) throws the following error:

    2014-10-28 10:33:54.685 CreateUpdatePreconfig[86168:507] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSString stringWithUTF8String:]: NULL cString'

    *** Call stack at first throw:

    (

    0   CoreFoundation                      0x95b77471 __raiseError + 193

    1   libobjc.A.dylib                     0x9857f091 objc_exception_throw + 162

    2   CoreFoundation                      0x95b7738b +[NSException raise:format:] + 139

    3   Foundation                          0x91847533 +[NSString stringWithUTF8String:] + 90

    4   CreateUpdatePreconfig               0x000026ad main + 413

    5   CreateUpdatePreconfig               0x00002375 start + 53

    )


    Adding single quotes around the password seems to fix this. NB: the password is fine if it doesn't include the # symbol (I haven't tested other special characters)

    :54349
Reply
  • I've just discovered that CreateUpdatePreconfig will throw an error for passwords using special characters- I'm not sure if this is intentional, but running it from the commandline with a password like "#thisisapassword" (without quotes) throws the following error:

    2014-10-28 10:33:54.685 CreateUpdatePreconfig[86168:507] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSString stringWithUTF8String:]: NULL cString'

    *** Call stack at first throw:

    (

    0   CoreFoundation                      0x95b77471 __raiseError + 193

    1   libobjc.A.dylib                     0x9857f091 objc_exception_throw + 162

    2   CoreFoundation                      0x95b7738b +[NSException raise:format:] + 139

    3   Foundation                          0x91847533 +[NSString stringWithUTF8String:] + 90

    4   CreateUpdatePreconfig               0x000026ad main + 413

    5   CreateUpdatePreconfig               0x00002375 start + 53

    )


    Adding single quotes around the password seems to fix this. NB: the password is fine if it doesn't include the # symbol (I haven't tested other special characters)

    :54349
Children
No Data