Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8621110F81 for ; Fri, 9 Jan 2015 00:04:09 +0000 (UTC) Received: (qmail 91244 invoked by uid 500); 9 Jan 2015 00:04:10 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 91190 invoked by uid 500); 9 Jan 2015 00:04:10 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 91179 invoked by uid 99); 9 Jan 2015 00:04:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 00:04:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 74.125.82.54 as permitted sender) Received: from [74.125.82.54] (HELO mail-wg0-f54.google.com) (74.125.82.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 00:03:43 +0000 Received: by mail-wg0-f54.google.com with SMTP id z12so5415676wgg.13 for ; Thu, 08 Jan 2015 16:02:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=8o2CTD43mbI9fUGfAxOczls8UIov7z3v8VSpa/Frz4w=; b=WE67NdpqbRwcT6Y/s+C+1El/qbCuI3X9BiQJp7cC2T1+auDxkTgRcOdKAU1j+Q73RO mceEf1VdPm+DyOmZwvxCAUN6otD6VpwHNXbXsKpbUFnloGc4RYWW0Z1Wfa9uqfMegSNI 5tVhdHCIIsYRRGiRR42t+lVhShEBSlv1uzhsXAS/c/I9BsXlcksxyOu+rE6kI0rDv/4X m+/nsUw9k2TXS2UwB+lbpr7gkK3n12GZZk8jpFMiSCWcmvz5u1kQtnRwr7D/TvJXtpZ4 m07sAOe53VXPd5JAwWkpo5AJsOzn90zO+gAsasovWIxm0D5PLFzHtTmbWQNna+Ye1OVc P4Bg== X-Received: by 10.194.90.10 with SMTP id bs10mr25859129wjb.43.1420761777115; Thu, 08 Jan 2015 16:02:57 -0800 (PST) Received: from [192.168.1.10] (AMontsouris-651-1-97-92.w82-123.abo.wanadoo.fr. [82.123.116.92]) by mx.google.com with ESMTPSA id gl5sm26235091wib.0.2015.01.08.16.02.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jan 2015 16:02:56 -0800 (PST) Message-ID: <54AF1AAF.7020004@gmail.com> Date: Fri, 09 Jan 2015 01:02:55 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Ldap + Dsml References: <49803F6B16C4E54DA0E1F3997580F806159A3C49@NDMSMBX302.ndc.nasa.gov> In-Reply-To: <49803F6B16C4E54DA0E1F3997580F806159A3C49@NDMSMBX302.ndc.nasa.gov> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le 08/01/15 22:09, David J. Godbey (HQ-LM020)[DIGITAL MANAGEMENT INC.] a écrit : > Folks: > I am desperately trying to figure out how to get the apache ldap directory client working with dsml. It looks like everything I need is right there, but I'm flailing trying to put everything together. Vanilla ldap requests using LdapNetworkConnection I've got working just fine. The integration with DSML not so much. > > The UserGuide has no information under Advanced LDAP API usage for most items, including DSML. Engines and decorators and controls - how do they all fit together? The best I can tell you atm is to look at those samples : http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/dsml/engine/Dsmlv2EngineIT.java?revision=1646484&view=markup They are using DSML requests and the DSMLEngine to send them to a server through a LDAPNetworkConnection. Feel free to ask if you have any question about this code.