Is it possible to create more than one base domain in one directory server? For example, can I have dc=alpha,dc=com and dc=beta,dc=com on the same directory, and then search through ldapsearch -b "dc=alpha,dc=com" ... and ldapsearch -b "dc=beta,dc=com" ... The console does not seem to allow that. I wonder though. thanks sz __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs
David Boreham
2005-Nov-10 14:58 UTC
Re: [Fedora-directory-users] more than one base domain?
speedy zinc wrote:>Is it possible to create more than one base domain in >one directory server? For example, can I have > >dc=alpha,dc=com > >and > >dc=beta,dc=com > >Of course, yes.>on the same directory, and then search through > >ldapsearch -b "dc=alpha,dc=com" ... > >and > >ldapsearch -b "dc=beta,dc=com" ... > >The console does not seem to allow that. I wonder >though. > >http://www.redhat.com/docs/manuals/dir-server/ag/7.1/entry_dist.html#17930 Note that in the case you quoted you don''t _need_ to create two suffixes : you could configure one : "dc=com" and simply add the two sub domain container entries below that.
--- David Boreham wrote:> >on the same directory, and then search through > > > >ldapsearch -b "dc=alpha,dc=com" ... > > > >and > > > >ldapsearch -b "dc=beta,dc=com" ... > > > >The console does not seem to allow that. I wonder > >though. > > > > >http://www.redhat.com/docs/manuals/dir-server/ag/7.1/entry_dist.html#17930>Ah ok, so it''s done from the configuration tab, I was trying to do this in the directory tab. Ok, now that I''ve created a second root suffix, how do I manage it? The directory tab only shows the first suffix. I created a new root suffix "dc=alpha,dc=com", with a database named alpha, and checked the option to add associate database. But from the console, I can''t seem to be able to do anything with it. thanks sz __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs
Noriko Hosoi
2005-Nov-10 17:52 UTC
Re: [Fedora-directory-users] more than one base domain?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
speedy zinc wrote:
<blockquote
cite="mid20051110153350.26865.qmail@web36305.mail.mud.yahoo.com"
type="cite">
<pre wrap="">--- David Boreham wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">on the same directory, and then search
through
ldapsearch -b "dc=alpha,dc=com" ...
and
ldapsearch -b "dc=beta,dc=com" ...
The console does not seem to allow that. I wonder
though.
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!----><a
class="moz-txt-link-freetext"
href="http://www.redhat.com/docs/manuals/dir-server/ag/7.1/entry_dist.html#17930">http://www.redhat.com/docs/manuals/dir-server/ag/7.1/entry_dist.html#17930</a>
</pre>
<pre wrap=""><!---->
Ah ok, so it''s done from the configuration tab, I was
trying to do this in the directory tab.
Ok, now that I''ve created a second root suffix, how
do I manage it? The directory tab only shows the
first suffix.
I created a new root suffix "dc=alpha,dc=com", with a
database named alpha, and checked the option to add
associate database.
But from the console, I can''t seem to be able to do
anything with it.
thanks
sz
</pre>
</blockquote>
I wonder if you have initialized your new database? Once you did it,
you should be able to see it on the directory tab.<br>
<a class="moz-txt-link-freetext"
href="http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1117340">http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1117340</a><br>
Thanks,<br>
--noriko<br>
<blockquote
cite="mid20051110153350.26865.qmail@web36305.mail.mud.yahoo.com"
type="cite">
<pre wrap="">
__________________________________
Start your day with Yahoo! - Make it your home page!
<a class="moz-txt-link-freetext"
href="http://www.yahoo.com/r/hs">http://www.yahoo.com/r/hs</a>
--
Fedora-directory-users mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a>
<a class="moz-txt-link-freetext"
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a>
</pre>
</blockquote>
<br>
</body>
</html>
Richard Megginson
2005-Nov-11 03:53 UTC
Re: [Fedora-directory-users] more than one base domain?
I think if you''re in the Directory tab, and you click right on the top level node, it should give you the option to create the root entry for your new suffix (or sub suffix). New Root Suffix entry or something like that. Suffix creation does not create the entry. Noriko Hosoi wrote:> speedy zinc wrote: > >>--- David Boreham wrote: >> >> >> >>>>on the same directory, and then search through >>>> >>>>ldapsearch -b "dc=alpha,dc=com" ... >>>> >>>>and >>>> >>>>ldapsearch -b "dc=beta,dc=com" ... >>>> >>>>The console does not seem to allow that. I wonder >>>>though. >>>> >>>> >>>> >>>> >>http://www.redhat.com/docs/manuals/dir-server/ag/7.1/entry_dist.html#17930 >> >> >> >>Ah ok, so it''s done from the configuration tab, I was >>trying to do this in the directory tab. >> >>Ok, now that I''ve created a second root suffix, how >>do I manage it? The directory tab only shows the >>first suffix. >> >>I created a new root suffix "dc=alpha,dc=com", with a >>database named alpha, and checked the option to add >>associate database. >> >>But from the console, I can''t seem to be able to do >>anything with it. >> >>thanks >> >>sz >> >> >> > I wonder if you have initialized your new database? Once you did it, > you should be able to see it on the directory tab. > http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1117340 > Thanks, > --noriko > >> >>__________________________________ >>Start your day with Yahoo! - Make it your home page! >>http://www.yahoo.com/r/hs >> >>-- >>Fedora-directory-users mailing list >>Fedora-directory-users@redhat.com >>https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> > >------------------------------------------------------------------------ > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
--- Richard Megginson <rmeggins@redhat.com> wrote:> I think if you''re in the Directory tab, and you > click right on the top > level node, it should give you the option to create > the root entry for > your new suffix (or sub suffix). New Root Suffix > entry or something > like that. Suffix creation does not create the > entry. >I couldn''t find any way to do that from the Directory tab. The only way was to try to add a new value to the list of suffixes, but the server won''t take it. sz __________________________________ Yahoo! Mail - PC Magazine Editors'' Choice 2005 http://mail.yahoo.com