From api-return-313-apmail-directory-api-archive=directory.apache.org@directory.apache.org Sat Dec 10 19:20:05 2011 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 775919ABD for ; Sat, 10 Dec 2011 19:20:05 +0000 (UTC) Received: (qmail 78868 invoked by uid 500); 10 Dec 2011 19:20:05 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 78844 invoked by uid 500); 10 Dec 2011 19:20:05 -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 78836 invoked by uid 99); 10 Dec 2011 19:20:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2011 19:20:05 +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 pajbam@gmail.com designates 209.85.210.50 as permitted sender) Received: from [209.85.210.50] (HELO mail-pz0-f50.google.com) (209.85.210.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2011 19:19:58 +0000 Received: by dang27 with SMTP id g27so4996775dan.37 for ; Sat, 10 Dec 2011 11:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type:content-transfer-encoding; bh=jnbE3idppG5F6yBpVA6BSWDVZYUGSMky6lOJYe1MB6g=; b=Wlm1L6GbE8xA60O7x76M6TY1cOy3mhkNG+xXVi9obDeIPO6vmq+X1iaBI75tqwUWME sFnqXdOiljm7YX727oR9zFXqKzOblGEi6PcbyDaXRaDlC3lshmY1Yxp7d7cdEMtwCyQD x+aa0Fd9BWyCPgirhQ0nkxVASjIkMKqTPtUQc= Received: by 10.68.197.232 with SMTP id ix8mr18479361pbc.18.1323544777546; Sat, 10 Dec 2011 11:19:37 -0800 (PST) References: <4EE3960E.5010809@gmail.com> <11541086.6310.1323538613839.JavaMail.mobile-sync@bfjn27> From: Pierre-Arnaud Marcelot In-Reply-To: <11541086.6310.1323538613839.JavaMail.mobile-sync@bfjn27> Mime-Version: 1.0 (1.0) Date: Sat, 10 Dec 2011 20:19:40 +0100 Message-ID: <5383658516330255901@unknownmsgid> Subject: Re: connection.getSchemaManager() returns null To: "api@directory.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, FYI, I already opened two JIRA issues about this problem: - DIRAPI-46 - https://issues.apache.org/jira/browse/DIRAPI-46 - DIRAPI-58 - https://issues.apache.org/jira/browse/DIRAPI-58 Regards, Pierre-Arnaud Le 10 d=E9c. 2011 =E0 18:36, Emmanuel Lecharny a =E9c= rit : > 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=E9charny > www.iktek.com >