From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 09:27:07 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A03E16A417 for ; Wed, 1 Aug 2007 09:27:07 +0000 (UTC) (envelope-from walsimou@walsimou.com) Received: from dns.walsimou.com (walscop001.walsimou.com [82.228.201.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6D65913C459 for ; Wed, 1 Aug 2007 09:27:06 +0000 (UTC) (envelope-from walsimou@walsimou.com) Received: from [192.168.0.1] (par69-4-82-227-117-128.fbx.proxad.net [82.227.117.128]) (AUTH: LOGIN walsimou@walsimou.com, SSL: TLSv1/SSLv3, 256bits, AES256-SHA) by dns.walsimou.com with esmtp; Wed, 01 Aug 2007 11:27:04 +0200 id 0000BBCD.0000000046B051E8.0000E3B1 Message-ID: <46B051D3.7000508@walsimou.com> Date: Wed, 01 Aug 2007 11:26:43 +0200 From: Gaye Abdoulaye Walsimou User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Zo Amb , freebsd-questions@freebsd.org References: <200708010806.49718.zoambinintsoa@asecna.mg> In-Reply-To: <200708010806.49718.zoambinintsoa@asecna.mg> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) 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: Wed, 01 Aug 2007 09:27:07 -0000 Zo Amb a écrit : > Hi lists, > I really need some help. Since the last two weeks, I've been trying to > configure Openldap on a FreeBSD 6.2-RELEASE. But I just can't go further > because I get always the same error while I try to use the ldapadd command. > It says : > ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) > > Any ideas ? > > Zo Amb > Does the LDAP server run? It seems not! To add entries in a database while the server is not running, you have to use slapadd instead of ldapadd. This link can help I think: http://www.openldap.org/doc/admin23/dbtools.html