<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>I still don't like the fact -ldapServers gave invalid argument error.</div><div>Can you please elaborate on oVirt version you're using?</div><div><br></div><div>Many thanks,</div><div>Yair</div><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"James James" &lt;jreg2k@gmail.com&gt;<br><b>To: </b>"Ian Forde" &lt;ianforde@gmail.com&gt;, users@ovirt.org<br><b>Sent: </b>Friday, June 14, 2013 7:09:54 AM<br><b>Subject: </b>Re: [Users] oVirt and IPA (LDAP/KERBEROS)<br><div><br></div><div dir="ltr"><div><div>ok Thanks for your answer.<br><div><br></div></div>I don't have a SRV record in my DNS so I have just installed dnsmasq on my ovirt-engine server and add :<br><div><br></div></div><div>in /etc/dnsmasq.conf <br></div>

<div>svr-host = _ldap._<a href="http://tcp.example.com" target="_blank">tcp.example.com</a>,<a href="http://ldapserver.example.com" target="_blank">ldapserver.example.com</a>,389<br></div><div>srv-host=_kerberos._<a href="http://tcp.example.com" target="_blank">tcp.example.com</a>,<a href="http://krb5.example.com" target="_blank">krb5.example.com</a>,88<br>

</div><div><br></div><div>in /etc/resolv.conf<br><div><br></div></div><div>nameserver MY_OVIRT-ENGINE_IP_ADDRESS<br></div><div><br></div><div>on the top of namserver <br><div><br></div></div><div>and everything works.<br><div><br></div><br></div>Thanks again.</div>
<div class="gmail_extra"><br><div><br></div><div class="gmail_quote">2013/6/14 Ian Forde <span dir="ltr">&lt;<a href="mailto:ianforde@gmail.com" target="_blank">ianforde@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Since you've got IPA server setup, I assume that you've already got your SRV records setup in DNS. &nbsp;So, according to 'engine-manage-domains -h', you don't have to specify the "ldapServers" argument. &nbsp;Instead, do:<div>

<br></div><div>engine-manage-domains -action=add -domain=<a href="http://example.com" target="_blank">example.com</a> -user=admin -provider=IPA -passwordFile=/tmp/.pwd</div><div><br></div><div>where /tmp/.pwd holds the password for the duration of this operation. &nbsp;(In other words, put the password in there first, then delete the file when you're done.)</div>

<div><br></div><div>That's what worked for me, anyway...</div><div><br></div><div>&nbsp; -I</div></div><div class="gmail_extra"><br><div><br></div><div class="gmail_quote"><div><div class="h5">On Thu, Jun 13, 2013 at 1:42 PM, James James <span dir="ltr">&lt;<a href="mailto:jreg2k@gmail.com" target="_blank">jreg2k@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hello,<br><div><br></div>I want to connect my oVirt server on my IPA server. After executing : <br>
engine-manage-domains -action=add -domain=<a href="http://example.com" target="_blank">example.com</a> -user=admin -provider=IPA -ldapServers=<a href="http://ldap.example.com" target="_blank">ldap.example.com</a> -interactive -report<br>


<br></div>I've got this answer :<br><div><br>Invalid argument ldapservers<br><div><br></div><br></div><div>Can somebody help me ?<br><div><br></div></div><div>Regards<br></div></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
<br>_______________________________________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote><div><br></div></div></body></html>