Bug 51161 - use IP / DNS settings defined by DHCP
use IP / DNS settings defined by DHCP
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Univention Domain Join (Ubuntu)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Felix Botner
Julia Bremer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-04-23 16:25 CEST by Ingo Steuwer
Modified: 2021-12-23 10:59 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Steuwer univentionstaff 2020-04-23 16:25:58 CEST
univention-domain-join preconfigures a static DNS server instead of using the one configured by DHCP.

While it is mandatory to have a UCS based DNS server to use univention-domain-join, this fixed configuration must not be the normal behaviour. As with Windows and Mac OS X domain join the configuration given by DHCP should work.
Comment 1 Felix Botner univentionstaff 2020-07-08 23:03:14 CEST
Just added a skip-network-settings switch/checkbox to disable the network/dns configuration during the join. The default is the old behavior.
Comment 2 Julia Bremer univentionstaff 2020-07-09 23:33:50 CEST
Package installable: OK
Code: OK
Gui: OK
Functionality: OK

Verified
Comment 3 Felix Botner univentionstaff 2020-07-14 15:49:53 CEST
As Ingo requested, the default is now not to change any dns/network settings.

 * removed skip-network-settings
 * added --force-ucs-dns
 * added check to try to resolve the ldap/master and ldap/server/name names
   to ips, if that fails the join is aborted with a message like "The UCS DC
   name %s can not be resolved, please check your DNS settings"
Comment 4 Julia Bremer univentionstaff 2020-07-20 08:34:12 CEST
CLI : OK
GUI : OK
Join aborts if DNS can not resolve DC: OK
Added flag sets UCS DC as DNS Server: OK
Code review: OK 

Verified
Comment 5 Julia Bremer univentionstaff 2021-12-23 10:59:56 CET
Released