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

Error : Partial results and referral received



Hi All,
   I am newbie to LDAP Server...
 
   I recently downloaded OpenLDAP Software and compiled for win32 and
Installed successfully

Here is my sample config file

slapd.conf
----------

###############################################################
#     Global options  
###############################################################
include "d:/ldap/conf/slapd.at.conf"
include "d:/ldap/conf/slapd.oc.conf"
schemacheck on
#referral ldap://basingrd6

###############################################################
#     ldbm database definitions  
###############################################################
database	ldbm
suffix "dc=ldap,dc=aptos,dc=co,dc=uk"
directory "D:/ldap/DBFiles"
rootdn "cn=Manager,dc=ldap,dc=aptos,dc=co,dc=uk"
rootpw xxxx

###############################################################
#     indexed attribute definitions  
###############################################################
index uid pres,eq
index cn,sn pres,eq,approx,sub
index objectClass eq

and here is my 
LDIF FILE
---------
# Ramesh's Entry
dn: cn=Ramesh Nadella,dc=ldap,dc=aptos,dc=co,dc=uk
cn: Ramesh Nadella
cn: R Nadella
objectClass: person
sn: Nadella
userPassword: pwd1

# Chris's Entry
dn: cn=Chris Smith,dc=ldap,dc=aptos,dc=co,dc=uk
cn: Chris Smith
cn: C Smith
objectClass: person
sn: Smith
userPassword: pwd2
# Base64 encoded JPEG photo
jpegPhoto:: /9j/4AAQSkZJRgABAAAAAQABAAD/2wBDABALD
 A4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQ
 ERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVG

# Kelvin's Entry
dn: cn=Kelvin Wilcox,dc=ldap,dc=aptos,dc=co,dc=uk
cn: Kelvin Wilcox
cn: K Wilcox
objectClass: person
sn: Wilcox
userPassword: pwd3
# JPEG photo from file
jpegPhoto:< file:d:/ldap/images/photo.jpeg


I created database and started the LDAP server successfully

when I try to connect this ldap server from a client(Using Softerra LDAP
Browser 2.5), I am getting error message saying (Error 9):Partial results
and referral received.

I am using search string as ldap://basingrd6:389/??base?(objectClass=*)

can you please suggest me some search queries that I can use based on the
above ldif file.

thanks

Ramesh 












-----Original Message-----
From: Joaquin Henriquez Alzola [mailto:joaquin.henriquez@ericsson.com]
Sent: 06 November 2003 12:36
To: openldap-software@OpenLDAP.org
Subject: Re: ldap structure


How about

o=organization
ou=Spain
I= <citys>

????

On jueves, novi 6, 2003, at 13:10 Europe/Madrid, undergra wrote:

> Hi, what is the best form to do a ldap structure with
> a lot of city entries? (not country)
>
> Barcelona
> Valencia
> Madrid
> etc.
>
>                          o=organization
>                                     |
>     l=Barcelona    l=Valencia    l=Madrid
>
> This is the best form?
>
>
> thanks