Merge lp:~ahasenack/serverguide/no-etc-hosts-tricks-for-dit-suffix-1239914 into lp:serverguide/trunk
Status: | Merged |
---|---|
Approved by: | Doug Smythies |
Approved revision: | 323 |
Merged at revision: | 321 |
Proposed branch: | lp:~ahasenack/serverguide/no-etc-hosts-tricks-for-dit-suffix-1239914 |
Merge into: | lp:serverguide/trunk |
Diff against target: |
43 lines (+14/-12) 1 file modified
serverguide/C/network-auth.xml (+14/-12) |
To merge this branch: | bzr merge lp:~ahasenack/serverguide/no-etc-hosts-tricks-for-dit-suffix-1239914 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Doug Smythies | Approve | ||
Review via email: mp+323807@code.launchpad.net |
Commit message
Recommend dpkg-reconfigure instead of changes to /etc/hosts to modify the DIT suffix.
Description of the change
Recommend dpkg-reconfigure instead of changes to /etc/hosts to modify the DIT suffix.
It shouldn't be necessary to change your system's DNS information just to get a different DIT suffix in your ldap tree. I think that's dangerous and error prone, Imagine when SSL certs come into play. I believe the slapd package should ask the user about the DIT suffix, suggesting a default based on the current DNS domain, but since it doesn't currently, let's adapt the guide and tell the use how to use dpkg-reconfigure to obtain the same result.
The bug reporter ran into this issue because the guide, as it stands, misses a call to "sudo hostname <newname>" after changing /etc/hosts.
Looks good. Thank you.