Univention Bugzilla – Bug 56006
99ucs-school-umc-printermoderation.inst stuck with "Failed to set machine account: NT_STATUS_CANT_ACCESS_DOMAIN_INFO"
Last modified: 2023-04-21 10:37:38 CEST
When installing the package ucs-school-umc-printermoderation it fails for 5 minutes with "Failed to set machine account: NT_STATUS_CANT_ACCESS_DOMAIN_INFO", afterwards, the joinscript 99ucs-school-umc-printermoderation.inst exits with exit code 0. Seen on an Univention Primary Directory Node 5.0-3 with errata level 645 and UCS@School version 5.0 v3. (Maybe) related bug from 4.4: https://forge.univention.org/bugzilla/show_bug.cgi?id=49521 The relevant for-loop from share/set-windows-driver-for-pdf-printer (last commit: 60a910f7e401d8143eeab92ee8fe2fa7db8af617) line 90-99: """ for i in $(seq 1 300); do sleep 1 if rpcclient -P -c 'enumprinters' $hostname | grep -q "\\\\PDFDrucker"; then rpcclient -P -c "setdriver PDFDrucker '$ucsschool_printermoderation_windows_driver_name'" $hostname ret=$? if [ "$ret" -eq 0 ]; then break fi fi done """ After package installation, univention-app info: """ UCS: 5.0-3 errata645 Installed: cups=2.2.1 self-service-backend=5.0 ucsschool=5.0 v3 Upgradable: """