Skip to content

Commit

Permalink
Fix DC IP address change section
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Feb 7, 2017
1 parent de286c5 commit e044312
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.rst
Expand Up @@ -134,16 +134,22 @@ Example, change the network address ("122" becomes "101"):

systemctl start nsdc

7. Edit ``/var/lib/machines/nsdc/etc/krb5.conf`` and append a "realms" section like the following::
7. Edit ``/var/lib/machines/nsdc/var/lib/samba/private/krb5.conf`` and append a "realms" section like the following::

[realms]
DPNET.NETHESIS.IT = {
kdc = 192.168.101.77
}

8. Install additional dependencies for ``samba_dnsupdate`` in nsdc container ::

yum --installroot=/var/lib/machines/nsdc/ -y install bind-utils

8. Run ``samba_dnsupdate`` in nsdc container ::

systemd-run -t -M nsdc /usr/sbin/samba_dnsupdate --verbose

9. Clean up ``/var/lib/machines/nsdc/etc/krb5.conf``, by removing the section appended at step 7
8. Run again the last command, until it outputs *"No DNS updates needed"*.

9. Clean up ``/var/lib/machines/nsdc/var/lib/samba/private/krb5.conf``, by removing the section appended at step 7

0 comments on commit e044312

Please sign in to comment.