User Tools

Site Tools


userspace:opsi_without_permanent_loginblocker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userspace:opsi_without_permanent_loginblocker [2013/05/14 07:12]
tobias [Notwendige Host-Parameter]
userspace:opsi_without_permanent_loginblocker [2021/08/23 08:37] (current)
Line 1: Line 1:
 ====== OPSI ohne LoginBlocker ====== ====== OPSI ohne LoginBlocker ======
  
 +**Deprecated !!! Don't use it without modifications
 +**
  
 Dies soll ein Konzept für OPSI ohne dauerhaft installierten LoginBlocker darstellen.  Dies soll ein Konzept für OPSI ohne dauerhaft installierten LoginBlocker darstellen. 
Line 297: Line 299:
 ==== opsiclientd.conf Beispiel ==== ==== opsiclientd.conf Beispiel ====
 <code> <code>
- 
-[event_gui_startup] 
-super = event_fhg_sync 
-type = gui startup 
-name = gui_startup 
-block_login = False 
-active = False 
- 
-[event_gui_startup{user_logged_in}] 
-name = gui_startup 
-shutdown_warning_time = 300 
-block_login = false 
-active = False 
- 
- 
-[event_gui_startup{cache_ready}] 
-use_cached_config = true 
-use_cached_products = true 
-action_user_cancelable = 3 
-action_warning_time = 60 
-active = False 
- 
- 
-[event_gui_startup{installation_pending}] 
-name = gui_startup 
-active = False 
- 
-[event_on_demand] 
-super = default 
-type = custom 
-name = on_demand 
-event_notifier_command =  
- 
-[event_on_demand{user_logged_in}] 
-name = on_demand 
-shutdown_warning_time = 300 
-action_user_cancelable = 4 
-shutdown_user_cancelable = 10 
- 
-[event_software_on_demand] 
-super = default 
-type = sw on demand 
- 
-[event_sync] 
-super = default 
-type = template 
-process_actions = false 
-event_notifier_command =  
-sync_config_to_server = true 
-sync_config_from_server = true 
-cache_products = true 
-cache_dynamic_bandwidth = true 
- 
-[event_timer] 
-super = sync 
-type = timer 
-active = False 
-interval = 60 
- 
-[event_net_connection] 
-super = sync 
-type = custom 
-active = False 
-wql = SELECT * FROM __InstanceModificationEvent WITHIN 2 WHERE TargetInstance ISA 'Win32_NetworkAdapter' AND TargetInstance.NetConnectionStatus = 2 
- 
-[event_sync_completed] 
-super = default 
-type = sync completed 
-event_notifier_command =  
-process_actions = False 
-get_config_from_service = true 
-write_log_to_service = True 
-active = False 
-post_sync_config_to_server = True 
- 
-[event_sync_completed{cache_ready_user_logged_in}] 
-reboot = False 
-shutdown_user_cancelable = 10 
-shutdown_warning_time = 300 
-action_user_cancelable = 3 
-action_warning_time = 60 
-super = event_sync_completed 
-active = False 
- 
-[event_sync_completed{cache_ready}] 
-reboot = False 
-active = False 
- 
-[event_user_login] 
-super = default 
-type = user login 
-action_type = login 
-active = False 
-action_message = Starting to process user login actions. 
-action_message[de] = Beginne mit der Verarbeitung der Benutzer-Anmeldungs-Aktionen. 
-action_message[fr] = Traitement des actions à la connexion de l'utilisateur. 
-block_login = false 
-process_shutdown_requests = false 
-get_config_from_service = false 
-update_config_file = false 
-write_log_to_service = false 
-update_action_processor = true 
-event_notifier_command = %opsiclientd_notifier.command% -s notifier\\userlogin.ini 
-event_notifier_desktop = default 
-action_processor_command = %action_processor.command% /sessionid %service_session% /allloginscripts /silent 
-action_processor_desktop = default 
-action_processor_timeout = 300 
- 
-[event_on_shutdown] 
-super = default 
-type = custom 
-name = on_shutdown 
-active = False 
- 
-[event_on_shutdown{installation_pending}] 
-name = on_shutdown 
-active = False 
- 
-[event_silent_install] 
-super = default 
-type = custom 
-name = silent_install 
-event_notifier_command =  
-process_shutdown_requests = false 
-action_processor_command = %action_processor.command% /productlist %action_processor_productIds% /silent 
-action_processor_desktop = winlogon 
-action_processor_timeout = 300 
-action_processor_productids = swaudit,hwaudit 
- 
-[event_timer_silentinstall] 
-super = silent_install 
-type = timer 
-active = False 
-interval = 21600 
- 
-[precondition_user_logged_in] 
-user_logged_in = true 
- 
-[precondition_cache_ready] 
-config_cached = true 
-products_cached = true 
- 
-[precondition_cache_ready_user_logged_in] 
-user_logged_in = true 
-config_cached = true 
-products_cached = true 
- 
-[precondition_installation_pending] 
-installation_pending = true 
- 
-[event_on_demand_ask] 
-super = on_demand 
- 
-[event_on_demand_ask{user_logged_in}] 
-action_user_cancelable = 10 
-action_warning_time = 60 
-shutdown_user_cancleable = 10 
-shutdown_warning_time = 1000 
- 
-[event_silent] 
-action_processor_command = %action_processor.command% /sessionid %service_session% /silent 
-super = on_demand 
- 
-[event_sync_completed{user_logged_in}] 
-shutdown_user_cancelable = 10 
-shutdown_warning_time = 2000 
-action_user_cancelable = 2 
-action_warning_time = 1000 
-active = False 
- 
-[event_usercontext] 
-action_processor_command =  
-block_login = False 
- 
-[event_timer{cache_ready_user_logged_in}] 
-super = event_sync_completed 
-process_actions = False 
-action_user_cancelable = 3 
-action_warning_time = 500 
-active = False 
- 
-[event_timer{cache_ready}] 
-super = event_sync_completed 
-active = False 
- 
-[event_timer{user_logged_in}] 
-super = event_sync 
-[event_fhg_gui_startup] 
-super = event_fhg_sync 
-type = gui startup 
-block_login = False 
-use_cached_products = True 
  
 [event_fhg_sync] [event_fhg_sync]
Line 531: Line 341:
 super = fhg_sync super = fhg_sync
 type = timer type = timer
- 
-[event_fhg_timer{cache_ready_user_logged_in}] 
-use_cached_config = False 
-use_cached_products = False 
-user_cached_config = False 
-user_cached_products = False 
  
 [event_fhg_timer{cache_ready}] [event_fhg_timer{cache_ready}]
Line 543: Line 347:
  
 </code> </code>
 +
 +Wer dieses Testen möchte, sollte sich einen testclient nehmen und diesen Teil der Konfiguration in die opsiclientd.conf eintragen.
 +Die UIB Standard events gui_startup, sync_completed und sync sollten mit active = false abgeschaltet werden. 
 +Außerdem muss update_config_file ebenfalls auf false gesetzt werden. 
 +
 +Wer dieses Konzept dauerhaft nutzen möchte, sollte die Events per Host-Parameter implementieren. 
 +
 +Dabei müssen die Host-Parameter folgendermaßen aufgebaut sein:
 +
 +opsiclientd.eventname.property z.B. opsiclientd.event_fhg_gui_startup.super
  
userspace/opsi_without_permanent_loginblocker.1368515534.txt.gz · Last modified: 2021/08/23 08:37 (external edit)