Univention Bugzilla – Bug 47338
univention-join fails, if a second macAddress is set
Last modified: 2018-10-17 14:57:20 CEST
Joining a school Slave fails when two macAddress are set. The Error Message in the join.log: E: MAC address 0c:b6:4a:aa:24:08 is already assigned to cn=dc02,cn=dc,cn=server,cn=computers,ou=test,dc=schule,dc=example,dc=com, please remove that object or change the MAC address. MacAddress configured at the slave object: macAddress: 0c:b6:4a:aa:24:08 -> eth0, aktiv macAddress: 0c:b5:7a:bb:23:49 -> eth1, nicht konfiguriert Removing the second macAddress the join is successful
univention-join (10.0.0-20) 8f7ab3bf2db6 | Bug #47338: fix univention-join for hosts with more than one mac address univention-join.yaml 704d9ab3a411 | Bug #47338: yaml Successful build Package: univention-join Version: 10.0.0-20A~4.3.0.201809141608 Branch: ucs_4.3-0 Scope: errata4.3-2 univention-join is now able to handle systems with two or more mac addresses.
Created attachment 9678 [details] example patch Please use an array instead of newlines to save the mac addresses. A join is currently not possible because an empty -mac argument is added. See also the patch as an example
Successful build Package: univention-join Version: 10.0.0-23A~4.3.0.201809281330 Branch: ucs_4.3-0 Scope: errata4.3-2 fixed
Successful build Package: univention-join Version: 10.0.0-24A~4.3.0.201809281627 Branch: ucs_4.3-0 Scope: errata4.3-2 Successful build Package: ucs-test Version: 8.0.28-197A~4.3.0.201809281631 Branch: ucs_4.3-0 Scope: errata4.3-2
uccessful build Package: ucs-test Version: 8.0.28-198A~4.3.0.201810011132 Branch: ucs_4.3-0 Scope: errata4.3-2 commit ac3d2e373a0ccc44be3838d3db7e5f69a4b60212 Author: Jannik Ahlers <ahlers@univention.de> Date: Mon Oct 1 11:30:58 2018 +0200 Bug #47338: let test 11_join/10join_preexisting_acc_with_multiple_macs only run on master
What I tested: Join with updated univention-join on slave -> OK Join with updated univention-join on master -> OK Join with updated univention-join -> OK Tests -> OK YAML -> OK -> Verified
<http://errata.software-univention.de/ucs/4.3/271.html>