From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 14:34:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC6A716A420 for ; Tue, 6 Dec 2005 14:34:45 +0000 (GMT) (envelope-from bjd@swyc.org) Received: from thorn.pobox.com (api.pobox.com [208.210.124.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C71543D49 for ; Tue, 6 Dec 2005 14:34:45 +0000 (GMT) (envelope-from bjd@swyc.org) Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id 7EAF7B9; Tue, 6 Dec 2005 09:35:06 -0500 (EST) Received: from [10.0.1.7] (c-24-12-132-100.hsd1.in.comcast.net [24.12.132.100]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id 47C9EF96; Tue, 6 Dec 2005 09:35:04 -0500 (EST) In-Reply-To: <5f3d99d0512050514g5c55861as89043fe68a5ac655@mail.gmail.com> References: <5f3d99d0512050514g5c55861as89043fe68a5ac655@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7D9C5450-982A-438D-A7C6-90A5496F7435@swyc.org> Content-Transfer-Encoding: 7bit From: Benjamin J Doherty Date: Tue, 6 Dec 2005 08:34:43 -0600 To: marc andela X-Mailer: Apple Mail (2.746.2) Cc: freebsd-questions@freebsd.org Subject: Re: use Java LDAP and MySql X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 14:34:46 -0000 On Dec 5, 2005, at 7:14 AM, marc andela wrote: > how can i use Java applications to store information in MySql database > through LDAP? > can i use sql statements through LDAP to make query in MySql? > > if all this can be possible please tell me what are the requeriments Marc: It's very possible but so very tedious to set up. OpenLDAP has a backend called "back-sql" which can map ldap entries to relational database tables. There's a lot of tips in the FAQ-O- Matic at www.openldap.org. However, they recommend Postgresql and include the foundations for getting started in that RDBMS. Cheers, benjamin in chicago.