Univention Bugzilla – Bug 25863
UCS@school Dokumentation: ucs-school-netlogon erklären
Last modified: 2024-04-17 13:21:22 CEST
Über ucs-school-netlogon wird ab UCS@school 3.0 ein "Master" Logon Skript erzeut. Über UCR können dann weitere Logon Skripte definiert werden, die vom "Master" Skript aufgerufen werden sollen. siehe auch Bug #14882
I found this forum thread: https://help.univention.com/t/netlogon-script/1860 Here was a reference to the documentation, with the following quote: Normalerweise führt ein Windows-Client bei der Benutzeranmeldung nur ein Netlogon-Anmeldeskript aus. Das in UCS@school integrierte Paket ucs-school-netlogon erlaubt die Integration mehrerer Skripte über ein Meta-Skript. Die Konfiguration erfolgt durch Univention Configuration Registry. Netlogon-Skripte werden bei Verwendung von Samba 3 im Verzeichnis /var/lib/samba/netlogon und bei Samba 4 im Verzeichnis /var/lib/samba/sysvol/DNSDOMAENE/scripts abgelegt. Neue Skripte können auf dem Domänencontroller Master hinzugefügt werden. Sie werden dann automatisch auf die anderen Samba-Server übertragen. Die aufzurufenden Skripte werden über Univention Configuration Registry-Variablen im Schema ucsschool/netlogon/PRAEFIX/script=SKRIPTNAME definiert. Das Präfix ist bei Paketen im UCS@school-Lieferumfang typischerweise der Paketname und kann ansonsten frei gewählt werden. Über Variablen im Schema ucsschool/netlogon/PRAEFIX/script/priority kann zusätzlich die Abarbeitungsreihenfolge im Form einer Zahl festgelegt werden. Die Skripte werden dann in aufsteigender Reihenfolge ausgeführt, z.B.:ucsschool/netlogon/localscript1/script/priority: 10 ucsschool/netlogon/localscript1/script: connect-to-database.vbs ucsschool/netlogon/localscript2/script/priority: 40 ucsschool/netlogon/localscript2/script: connect-printers.vbs I made an KB Article with this here, because it is still the way: https://help.univention.com/t/problem-how-can-i-define-and-integrate-my-own-netlogon-scripts/12415 We should document this in our manual.
This bug hasn't seen any update for several years. I close it. If you still see a need for it, you can reopen the bug. Please add an argumentation about why it's important to take care of it.