[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Support for multiple DN's
On Sunday, 11 April 2010 05:59:47 Meena Ram wrote:
> Hello Sarati;
>
> I wanted the following thing to work. Like i would like to do a ldapsearch
> for multiple domains. At present when i try to slapadd for an entry into
> the second domain it fails.
Since you didn't provide the commandline you used, or a sample of the data, or
the exact error message, the only option we have is to guess.
My guess is that you didn't specify the database number or suffix that slapadd
should operate on.
> ldapadd also seems to fail for the second
> domain.
Again, you provide no information here, and there are way too many
possibilities for failure to even try and guess.
> i have two separate directories for the two domain. /var/lib/ldap
> and /var/lib/ldap2.
> Really appreciate your help in this regard
>
> ####### First Domain #############
>
> database bdb
> suffix "dc=openldap,dc=Americas,dc=California,dc=com"
> rootdn "cn=Manager,dc=openldap,dc=Americas,dc=California,dc=com"
> rootpw {SSHA}yBt63W8/N8AZLiSIh9VnwuUSVH8snQtW
>
> directory /var/lib/ldap
>
> # Indices to maintain for this database
> .....
> #######################################################################
> # ldbm and/or bdb database definitions - For second Domain
> #######################################################################
>
> #database ldbm
> database bdb
> suffix "dc=openldap2,dc=Americas,dc=California,dc=com"
> rootdn "cn=manager,dc=openldap2,dc=Americas,dc=California,dc=com"
> rootpw {SSHA}yBt63W8/N8AZLiSIh9VnwuUSVH8snQtW
>