Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 10:34:44 -0700 (PDT)
From:      "Ben H." <strbenjr@yahoo.com>
To:        openldap-software@OpenLDAP.org, questions FBSD <freebsd-questions@FreeBSD.ORG>
Subject:   OpenLDAP on FreeBSD5.2.1
Message-ID:  <20040414173444.36383.qmail@web41608.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 <dc=bae-test-ca3,dc=lab> 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...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414173444.36383.qmail>