OS X Mavericks : configuration de la méthode d’authentification liée à une file d'attente d’impression par le biais d’un profil

Il est possible de prédéfinir la méthode d’authentification, liée à une file d’attente d’impression, à l’aide d’un profil de configuration.

Le gestionnaire de profils ne permet pas de définir cette méthode d’authentification. Cependant, vous pouvez effectuer cette opération dans un fichier .mobileconfig exporté. Les valeurs à inclure dans la matrice de la file d’attente sont les suivantes :

<key>Option</key> <dict> <key>auth-info-required</key> <string>negotiate</string> </dict>

Les méthodes d’authentification prises en charges sont définies par le système Cups.

Voici un exemple de modèle de profil :

<xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict>     <key>PayloadContent</key>     <array>         <dict>             <key>PayloadType</key>             <string>com.apple.mcxprinting</string>             <key>PayloadVersion</key>             <integer>1</integer>             <key>PayloadIdentifier</key>             <string>YOUR.PAYLOAD.IDENTIFIER.HERE</string>             <key>PayloadEnabled</key>             <true/>             <key>PayloadUUID</key>             <string>YOUR_GENERATED_UUID</string>             <key>PayloadDisplayName</key>             <string>Printing</string>             <key>RequireAdminToAddPrinters</key>             <true/>             <key>AllowLocalPrinters</key>             <true/>             <key>FooterFontSize</key>             <string>7</string>             <key>FooterFontName</key>             <string>Helvetica</string>             <key>DefaultPrinter</key>             <string></string>             <key>UserPrinterList</key>             <dict>                 <key>YOUR_PRINTER_QUEUE_NAME</key>                 <dict>                     <key>Option</key>                     <dict>                         <key>auth-info-required</key>                         <string>negotiate</string>                     </dict>                     <key>DeviceURI</key>                     <string>smb://SERVERNAME/YOUR_PRINTER_QUEUE_NAME</string>                     <key>DisplayName</key>                     <string>YOUR_PRINTER_DISPLAY_NAME</string>                     <key>Location</key>                     <string>PRINTER_LOCATION</string>                     <key>Model</key>                     <string>PRINTER_MODEL</string>                     <key>PrinterLocked</key>                     <false/>                     <key>PPDURL</key>                     <string>file://localhost/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Resources/Generic.ppd</string>                 </dict>             </dict>         </dict>     </array> <key>PayloadIdentifier</key>         <string>YOUR.PAYLOAD.IDENTIFIER.HERE</string>         <key>PayloadRemovalDisallowed</key>         <false/>         <key>PayloadScope</key>         <string>User</string>         <key>PayloadType</key>         <string>Configuration</string>         <key>PayloadUUID</key>         <string>YOUR_GENERATED_UUID</string>         <key>PayloadOrganization</key>         <string>YOUR_PAYLOAD_ORGANIZATION_HERE</string>         <key>PayloadVersion</key>         <integer>1</integer>         <key>PayloadDisplayName</key>         <string>YOUR_PAYLOAD_DISPLAY_NAME_HERE</string> </dict> </plist>
Date de publication: