<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 04/11/2016 11:32, Brian Candler
wrote:<br>
</div>
<blockquote
cite="mid:9d1942f4-050e-e9c2-7e51-1fdcd9bff1fa@pobox.com"
type="cite">
<p>I notice that both ipa-server-install and ipa-replica-install
have the following option:</p>
<p> --mkhomedir create home directories for users on
their first login</p>
<p>but I did not supply this option in either case. I believe the
actual options I gave were:</p>
<p>
<meta charset="utf-8">
<span style="color: rgb(0, 130, 0); font-family: Consolas,
"Bitstream Vera Sans Mono", "Courier New",
Courier, monospace; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: nowrap; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;">ipa-server-install
--setup-dns</span><br>
<meta charset="utf-8">
<span style="color: rgb(0, 130, 0); font-family: Consolas,
"Bitstream Vera Sans Mono", "Courier New",
Courier, monospace; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: nowrap; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;">ipa-replica-install
--setup-ca --setup-dns --forwarder x.x.x.x
/var/lib/ipa/replica-info-*.gpg</span></p>
<p>respectively. Is this expected behaviour, or should I raise a
ticket?</p>
</blockquote>
<p>Supplementary note for the benefit of the list: I tried manually
updating the replica machines' PAM configurations to match, but I
then got this error<br>
</p>
<p><tt>org.freedesktop.DBus.Error.ServiceUnknown: The name
com.redhat.oddjob_mkhomedir was not provided by any .service
files</tt><tt><br>
</tt><tt>Last login: Fri Nov 4 11:36:07 2016 from x.x.x.x</tt><tt><br>
</tt><tt>Could not chdir to home directory /home/brian.candler: No
such file or directory</tt><tt><br>
</tt></p>
<p>All the machines had the same packages installed, including the
"oddjob-mkhomedir" package. But the slaves were missing a single
symlink. Solution was:<br>
</p>
ln -s /usr/lib/systemd/system/oddjobd.service
/etc/systemd/system/multi-user.target.wants/oddjobd.service<br>
<br>
Regards,<br>
<br>
Brian.<br>
</body>
</html>