From owner-freebsd-questions@FreeBSD.ORG Wed Apr 14 10:34:44 2004 Return-Path: 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 5964F16A4CE for ; Wed, 14 Apr 2004 10:34:44 -0700 (PDT) Received: from web41608.mail.yahoo.com (web41608.mail.yahoo.com [66.218.93.108]) by mx1.FreeBSD.org (Postfix) with SMTP id 4569F43D46 for ; Wed, 14 Apr 2004 10:34:44 -0700 (PDT) (envelope-from strbenjr@yahoo.com) Message-ID: <20040414173444.36383.qmail@web41608.mail.yahoo.com> Received: from [208.19.133.132] by web41608.mail.yahoo.com via HTTP; Wed, 14 Apr 2004 10:34:44 PDT Date: Wed, 14 Apr 2004 10:34:44 -0700 (PDT) From: "Ben H." To: openldap-software@OpenLDAP.org, questions FBSD MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: OpenLDAP on FreeBSD5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 17:34:44 -0000 Dear helpful people, I am attempting to get OpenCA installed on a FreeBSD 5.2.1 box and I am at the point where I would like to get OpenLDAP installed and configured. I am having problems with the installation. I have installed OpenLDAP from the ports. I ran CVSUP and updated the ports prior to any "ports" based installs. login as: c11058 Sent username "c11058" --- password: Last login: Tue Apr 13 12:33:05 2004 from dhcp-xxx-xx-xx- Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE (GENERIC) #0: Mon Feb 23 20:45:55 GMT 2004 Welcome to FreeBSD! USER$ pkg_info XFree86-libraries-4.3.0_6 XFree86-4 libraries and headers apache+mod_ssl-1.3.29+2.8.16_1 The Apache 1.3 webserver with SSL/TLS functionality cvsup-without-gui-16.1h General network file distribution system optimized for CVS db42-4.2.52_2 The Berkeley DB package, revision 4.2 openldap-client-2.2.7_3 Open source LDAP client implementation openldap-server-2.2.7_2 Open source LDAP server implementation openssl-0.9.7d SSL and crypto library p5-Authen-PAM-0.14 A Perl interface to the PAM library p5-Net-SSLeay-1.23 Perl5 interface to SSL perl-5.6.1_15 Practical Extraction and Report Language samba-2.2.8a_1 A free SMB and CIFS client and server for UNIX webmin-1.130_11 Web-based interface for system administration for Unix ...among others... === === === === === The following command yields: USER$ ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts # extended LDIF # # LDAPv3 # base <> with scope base # filter: (objectclass=*) # requesting: namingContexts # # dn: namingContexts: dc=bae-test-ca3,dc=lab # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 === === === === === === === === === === then an add... User$ ldapadd -x -D "cn=Manager,dc=bae-test-ca3,dc=lab" -W -f test.ldif Enter LDAP Password: adding new entry "dc=bae-test-ca3,dc=lab" === === === === === === === === === === then check... WHAT... Failed! Help! User$ ldapsearch -x -b 'dc=bae-test-ca3,dc=lab' '(objectclass=*)' # extended LDIF # # LDAPv3 # base with scope sub # filter: (objectclass=*) # requesting: ALL # # search result search: 2 result: 32 No such object <<<<<<<<<<<<<<< # numResponses: 1 === === === === === I don't know where to look. Everything I did was based upon the OpenLDAP 2.2 Admin Guide. I would appreciate any help I can get. I haven't even gotten to "Schemas" yet! Thanks! Ben Hacker, Jr. Sr. Security Analyst 2461 S. Clark Street Arlington, VA 22202 strbenjr@yahoo.com 703.418.8004 (w) -- -- -- http://www.hackerweb.net/bthacker ...remembering...