Return-Path: X-Original-To: apmail-directory-api-archive@minotaur.apache.org Delivered-To: apmail-directory-api-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4D389768 for ; Sat, 10 Dec 2011 17:36:45 +0000 (UTC) Received: (qmail 4486 invoked by uid 500); 10 Dec 2011 17:36:45 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 4456 invoked by uid 500); 10 Dec 2011 17:36:45 -0000 Mailing-List: contact api-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: api@directory.apache.org Delivered-To: mailing list api@directory.apache.org Received: (qmail 4448 invoked by uid 99); 10 Dec 2011 17:36:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2011 17:36:45 +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 (athena.apache.org: domain of elecharny@gmail.com designates 74.125.83.50 as permitted sender) Received: from [74.125.83.50] (HELO mail-ee0-f50.google.com) (74.125.83.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2011 17:36:39 +0000 Received: by eeke53 with SMTP id e53so2280744eek.37 for ; Sat, 10 Dec 2011 09:36:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=UUqn4YYUL8MoKXOsmTQiYxNvmNdc4Ba9Vkt0dUrWbyk=; b=lLw4WNifD2ZbKurCUrquiIbsvLzTokrErHDSCKCL68vOd7CGyGYWx1FSLDrVgv3FYA Bwhij5S3rSqs35L/3f1ErvymxH2/Q61grL2oFxtpr799VoSMwZWg48R8kpuxzbrtpMcf oq+TnuKDY5VsnqaG7UlDwq1sOms6SQ7CgH2Mw= Received: by 10.14.20.9 with SMTP id o9mr1563888eeo.28.1323538577976; Sat, 10 Dec 2011 09:36:17 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net. [78.192.106.184]) by mx.google.com with ESMTPS id 65sm48662863eeg.8.2011.12.10.09.36.16 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Dec 2011 09:36:16 -0800 (PST) Message-ID: <4EE3988F.6050806@gmail.com> Date: Sat, 10 Dec 2011 18:36:15 +0100 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: api@directory.apache.org Subject: Re: connection.getSchemaManager() returns null References: <4EE3960E.5010809@gmail.com> In-Reply-To: <4EE3960E.5010809@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 12/10/11 6:25 PM, Christoph Czurda wrote: > Hello, > > Why does connection.getSchemaManager() return null? My connection is > connected and bound. If no schema is loaded, the schemaManager will be null. This version of the API currently does not read the schema from the remote server other than Apache DS. Right now, we just support the loading of a local schema, in a LDIF format. i'm not quite sure that it's what you want though. The code that loads the schema from the remote server is still brittle, and need to be tested against many different servers, but we can probably write a preliminary version for a server like OpenLDAP in a matter of a couple of days. I would suggest that you create a JIRA for that. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com