seems to, yes (some values changed, but consistently):<div><br></div><div><div># ldapsearch -LLL -h <a href="http://oldserver.briandomain.com">oldserver.briandomain.com</a> -x -s base -b '' namingcontexts</div><div>
dn:</div><div>namingcontexts: dc=briandomain,dc=com</div><div><br></div><div><br></div><div>However, when I go to the "oldserver" and look in the logs, I see this:</div><div><br></div><div>conn=1416 op=1 SRCH base="dc=brian,dc=internal" scope=0 filter="(objectClass=*)" attrs="namingContexts"</div>
<div><br></div><div><br></div><div>Since I'm going from "dc=briandomain,dc=com" to "dc=brian,dc=internal"  (mostly due to the forward and reverse lookups, which I don't want to mess around with extensively for the actual domain) then looking for namingContexts within that base won't work; I would like instead to just grab everything from one base, and import it in to the new base.</div>
<div><br></div><div>Is it not working as you would expect it?  Or, is it just not possible to do what I'm wanting?</div><div><br></div><div>Thanks :)</div><div>Brian</div><div><br></div><div><br></div><br><div class="gmail_quote">
On Wed, Sep 22, 2010 at 12:44 PM, Rob Crittenden <span dir="ltr"><<a href="mailto:rcritten@redhat.com">rcritten@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Brian LaMere wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I know about --user-container and --group-container, but that's not<br>
sufficient; the domain is different, so I want to completely change the<br>
search base for migration.  Is this possible?<br>
<br>
Thanks!<br>
Brian<br>
</blockquote>
<br></div></div>
It looks like it tries to auto-detect the remote search base using the equivalent of:<br>
<br>
ldapsearch -h remote_host -x -s base -b '' namingcontexts<br>
<br>
So for example, on my LDAP server it returns:<br>
<br>
dn:<br>
namingcontexts: dc=example,dc=com<br>
<br>
Does this do the right thing for you?<br><font color="#888888">
<br>
rob<br>
</font></blockquote></div><br></div>