directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fu-Tung Cheng <>
Subject Re: Advanced Users Guide
Date Fri, 04 Jan 2008 07:55:57 GMT
Hi Emmanuel,

That get's me a little farther, I've put the output below..  I was hoping to import the seven
seas example into apache ds running in the web application but I can't seem to get the data
into the directory.  I have played around with the standalone version and I tried taking the
standalone data and putting it into the apacheds war working directory but all that comes
up when I connect to the apacheds war is the system tree (no example tree and no seven seas

Is there an easy way for me to get some sample data into the apacheds war?  

Thank for the reply and help !!!!


It is interesting as the servlet search returns what the example states:

*** ApacheDS RootDSE ***

supportedLDAPVersion: 3
objectClass: extensibleObject
objectClass: top
subschemaSubentry: cn=schema,ou=system
vendorName: Apache Software Foundation
namingContexts: ou=system
supportedControl: 2.16.840.1.113730.3.4.3
supportedControl: 2.16.840.1.113730.3.4.7
supportedControl: 2.16.840.1.113730.3.4.2
vendorVersion: 1.0.2

but the command line still doesn't return the expected result.

$ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w secret \\ -b "" -s base
"(objectClass=*)" * +
# extended LDIF
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: \ -b  -s base (objectClass=*) * +

# search result
search: 2
result: 32 No such object
text: failed on search operation: null:
        baseDn : ''

        filter : '(*) '
        scope : whole subtree
 Only : false
no limit
        Time Limit : no limit
        Deref Aliases :
 never Deref Aliases
        attributes : 'base', '-s', '-b', '+', '(objectClass=*)', '*', '\'
: undException

----- Original Message ----
From: Emmanuel Lecharny <>
Sent: Thursday, January 3, 2008 11:39:18 PM
Subject: Re: Advanced Users Guide

> $ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w secret
 \\ -b "" -s base "(objectClass=*)" * +
Can you try with a -x added in the command line ? The ldapsearch tool 
default to SASL when this option is not set. :
 "-x     Use simple authentication instead of SASL."

cordialement, regards,
Emmanuel L├ęcharny

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message