From owner-freebsd-questions@FreeBSD.ORG Fri May 19 16:33:01 2006 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 DC66B16A426 for ; Fri, 19 May 2006 16:33:01 +0000 (UTC) (envelope-from mahlon@martini.nu) Received: from happymaggot.stinkymeat.net (c-24-20-225-100.hsd1.or.comcast.net [24.20.225.100]) by mx1.FreeBSD.org (Postfix) with SMTP id 333B443D53 for ; Fri, 19 May 2006 16:32:59 +0000 (GMT) (envelope-from mahlon@martini.nu) Received: (qmail 72534 invoked by uid 1001); 19 May 2006 16:32:58 -0000 Date: Fri, 19 May 2006 09:32:58 -0700 From: "Mahlon E. Smith" To: Darryl Hoar Message-ID: <20060519163258.GD599@martini.nu> Mail-Followup-To: "Mahlon E. Smith" , Darryl Hoar , freebsd-questions@freebsd.org References: <004e01c67ab5$ff4c5660$0701a8c0@darryl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H497F4Exu8ztyFwW" Content-Disposition: inline In-Reply-To: <004e01c67ab5$ff4c5660$0701a8c0@darryl> X-GPG-Fingerprint: F7B6 1C1E D1B8 0CBC 1A88 4A28 D5BB 2304 36A9 6DE3 X-Sysinfo: FreeBSD 6.1-BETA4 i386 User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: Openldap problem 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: Fri, 19 May 2006 16:33:02 -0000 --H497F4Exu8ztyFwW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 18, 2006, Darryl Hoar wrote: > [...] > > suffix "dc=3Dosborneinternal, dc=3Dcom" > rootdn "cn=3DManager, dc=3Dosborneinternal, dc=3Dcom" > rootpw secret > > [...] >=20 > when I try to do a : >=20 > mailman# ldapadd -D 'dc=3Dosborneinternal, dc=3Dcom' -f directory.ldif -W > the system prompts > Enter LDAP Password: > I type in my password exactly as it is in the slapd.conf. So in the above > slapd.conf it would be the password "secret" without quotes. No, its not > really the word > secret, and yes its internal so its intended to be a clear text password. > > The system replies with : > ldap_bind: Invalid credentials >=20 > how the heck do I get this to work ? You aren't using the rootdn specified in the above configuration. If you want to auth against your rootdn, the correct command line would be: % ldapadd -xWD 'cn=3DManager,dc=3Dosborneinternal,dc=3Dcom' < directory.ldif -- Mahlon E. Smith =20 mahlon@martini.nu | http://www.martini.nu/ --H497F4Exu8ztyFwW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFEbfM61bsjBDapbeMRAu1jAKCf9cIBbLxGizGVIMvBGcbbTWK1IgCeJ6tU JBj/P46QFQeJ9lBuILXPUK8= =Zgs9 -----END PGP SIGNATURE----- --H497F4Exu8ztyFwW--