Univention Bugzilla – Bug 43748
adapt ou-creation to new DHCP-options behavior
Last modified: 2017-04-11 17:45:37 CEST
Created attachment 8498 [details] patch As the "options" option is not activated by default we need to adjust the OU creation in UCS@school. Attached is a patch. +++ This bug was initially created as a clone of Bug #32557 +++ The implementation of Bug #26838 for individual DHCP options is only available at the command line, it should be also configurable in the web interface.
Did a test case find this regression?
I found while working on Bug #40442, that in UCS@school 4.2 v1 the option for wpad autodetection was not set anymore, and that I had trouble setting it. In the UMC the posibility to the DHCP options is in the "Advanced settings" tab. But that is *hidden*, while the checkox "Allow custom DHCP options" on the "Options" tab is disabled! The brain frying udm cmdline to set an option is: udm dhcp/service modify --dn=cn=<ou>,cn=dhcp,ou=<OU>,<ldap/base> --append-option options --append option='wpad "http://<FQDN>/proxy.pac"'
Thanks for the patch. Applied: r77562: adapt ucs-school-import to new DHCP-options behavior r77563: adapt ucs-school-lib to new DHCP-options behavior root@m120:~# /usr/share/ucs-school-import/scripts/create_ou NeueSchule1 m120 root@m120:~# udm dhcp/service list DN: cn=neueschule1,cn=dhcp,ou=NeueSchule1,dc=uni,dc=dtr ARG: None service: neueschule1 ## upgrade ## root@m120:~# /usr/share/ucs-school-import/scripts/create_ou NeueSchule2 m120 root@m120:~# udm dhcp/service list DN: cn=neueschule2,cn=dhcp,ou=NeueSchule2,dc=uni,dc=dtr ARG: None option: wpad "http://m120.uni.dtr/proxy.pac" service: neueschule2 → Option ist set now. Package: ucs-school-lib Version: 10.0.1-2A~4.2.0.201703101007 Branch: ucs_4.2-0 Scope: ucs-school-4.2 Package: ucs-school-import Version: 15.0.0-2A~4.2.0.201703101008 Branch: ucs_4.2-0 Scope: ucs-school-4.2
OK: code change OK: functional test
UCS@school 4.2 v1 has been released. http://docs.software-univention.de/release-notes-ucsschool-4.2v1-de.html If this error occurs again, please clone this bug.