[Date Prev][Date Next] [Chronological] [Thread] [Top]

clients can't see basedn



    I have successfuly implemented OUs in my ldap directory service
using the below slapd.conf,
 --
#
include  /etc/ldap/slapd.at.conf
include  /etc/ldap/slapd.oc.conf
schemacheck off
#referral ldap://root.openldap.org/

pidfile  /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database ldbm
suffix "o=Faculdade de Ciências e Tecnologia, c=PT"
rootdn "cn=Directory Manager, o=Faculdade de Ciências e Tecnologia,
c=PT"
rootpw mysecret
directory /usr/local/ldap/phonebook
--

After that i tried building the OUs databases in diferent directories,
also with succes, using the bellow slapd.conf,
--
#
include  /etc/ldap/slapd.at.conf
include  /etc/ldap/slapd.oc.conf
schemacheck off
#referral ldap://root.openldap.org/

pidfile  /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "ou=Internal, o=Faculdade de Ciências e Tecnologia, c=PT"
rootdn "cn=Directory Manager, o=Faculdade de Ciências e Tecnologia,
c=PT"
rootpw mysecret
directory /usr/local/ldap/phonebook/internal

database ldbm
suffix "ou=People, o=Faculdade de Ciências e Tecnologia, c=PT"
rootdn "cn=Directory Manager, o=Faculdade de Ciências e Tecnologia,
c=PT"
rootpw mysecret
directory /usr/local/ldap/phonebook/people

database ldbm
suffix "ou=Alunos, o=Faculdade de Ciências e Tecnologia, c=PT"
rootdn "cn=Directory Manager, o=Faculdade de Ciências e Tecnologia,
c=PT"
rootpw mysecret
directory /usr/local/ldap/phonebook/alunos

database ldbm
suffix "o=Faculdade de Ciências e Tecnologia, c=PT"
rootdn "cn=Directory Manager, o=Faculdade de Ciências e Tecnologia,
c=PT"
rootpw secret
directory /usr/local/ldap/phonebook
--

But now i have a problem with the ldap clients. They only see the basedn
of the first listed ldbm database of slapd.conf.
    Is that a client configuration problem or am I missing something?

Thanks in advance,
Hugo.

--
---------------------------------------------------------------------------
| Hugo Monteiro                      | Móvel: +351-966 386 090            |
| Serviço de Informática da          | Fixo : +351-212 948 300 Ext.1 0703 |
| Faculdade de Ciências e Tecnologia |                             1 5306 |
| Universidade Nova de Lisboa        |                                    |
| 2825-114 Monte Caparica            | Email: hmmm@fct.unl.pt             |
---------------------------------------------------------------------------