Professional Web Applications Themes

Need advice on problems installing Netmeeting directory kit v1.2 with OpenLDAP 2.1.22 on Slackware 9.0 - Linux Setup, Configuration & Administration

I've configured, compiled and installed OpenLDAP 2.1.22 on a Slackware Linux 9.0 system, and am in the process of installing the NetMeeting directory kit (v1.2). However, I've run into a problem with the resulting core.schema that causes the two slapd servers to fail. I'm following the instructions in the Linux Netmeeting HOWTO, revision v1.2 (15 Jan 2002), specifically, section 3 "NetMeeting directory kit". Berkeley DB v4 has been installed from the Slackware 9.0 "extra" set of packages (package db4-4.1.25-i386-1.tgz). rootsrdscs05:~# more /var/adm/packages/db4-4.1.25-i386-1 PACKAGE NAME: db4-4.1.25-i386-1 COMPRESSED PACKAGE SIZE: 1626 K UNCOMPRESSED PACKAGE SIZE: 7040 K PACKAGE LOCATION: db4-4.1.25-i386-1.tgz PACKAGE DESCRIPTION: ...

  1. #1

    Default Need advice on problems installing Netmeeting directory kit v1.2 with OpenLDAP 2.1.22 on Slackware 9.0

    I've configured, compiled and installed OpenLDAP 2.1.22 on a Slackware Linux 9.0
    system, and am in the process of installing the NetMeeting directory kit (v1.2).
    However, I've run into a problem with the resulting core.schema that causes the
    two slapd servers to fail.

    I'm following the instructions in the Linux Netmeeting HOWTO, revision v1.2 (15
    Jan 2002), specifically, section 3 "NetMeeting directory kit".

    Berkeley DB v4 has been installed from the Slackware 9.0 "extra" set of packages
    (package db4-4.1.25-i386-1.tgz).

    rootsrdscs05:~# more /var/adm/packages/db4-4.1.25-i386-1
    PACKAGE NAME: db4-4.1.25-i386-1
    COMPRESSED PACKAGE SIZE: 1626 K
    UNCOMPRESSED PACKAGE SIZE: 7040 K
    PACKAGE LOCATION: db4-4.1.25-i386-1.tgz
    PACKAGE DESCRIPTION:
    db4: db4 (Berkeley database library version 4)
    db4:
    db4: The Berkeley Database (Berkeley DB) library provides embedded database
    db4: support for both traditional and client/server applications.
    db4:
    db4: This package should be installed if compatibility is needed with
    db4: databases created with the Berkeley DB version 4.

    Berkeley DB v4 is required by the OpenLDAP 2.1.22 install

    I preinstalled the Net::LDAP perl package from CPAN as per the Netmeeting
    directory kit installation instructions. There were no problems installing this
    package.

    OpenLDAP 2.1.22 is configured with the following options
    ./configure --enable-shell --disable-debug --enable-ldbm --without-threads

    I executed the standard configure / make / make test / make install quickstep.
    make test didn't find any errors.

    After "make install", I followed the NDK installation instructions, copying
    netmeeting.perl, netmeeting.schema, slapd.conf and slapd2.conf to the
    appropriate directories.

    Now comes the first problem:

    I attempted to patch the core.schema as per the instructions, but got errors on
    one hunk out of four:
    rootsrdscs05:~/ndk-1.2# cd /usr/local/etc/openldap/schema/
    rootsrdscs05:/usr/local/etc/openldap/schema# ls
    README cosine.schema.default misc.schema.default
    corba.schema inetorgperson.schema netmeeting.schema
    corba.schema.default inetorgperson.schema.default nis.schema
    core.schema java.schema nis.schema.default
    core.schema.default java.schema.default openldap.schema
    cosine.schema misc.schema openldap.schema.default
    rootsrdscs05:/usr/local/etc/openldap/schema# cp core.schema core.schema.bak
    rootsrdscs05:/usr/local/etc/openldap/schema# patch core.schema \
    < ~/ndk-1.2/core.schema.patch
    patching file core.schema
    Hunk #1 succeeded at 1 with fuzz 2.
    Hunk #2 succeeded at 287 with fuzz 2 (offset 160 lines).
    Hunk #3 FAILED at 310.
    Hunk #4 succeeded at 337 (offset -164 lines).
    1 out of 4 hunks FAILED -- saving rejects to file core.schema.rej

    I've hand-edited core.schema to match the required change, and that seems not to
    be an issue. That is to say, the .rej file tells me
    rootsrdscs05:/usr/local/etc/openldap/schema# cat core.schema.rej
    ***************
    *** 302,308 ****

    attributetype ( 2.5.4.3 NAME ( 'cn' 'commonName' ) SUP name )

    - attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' ) SUP name )

    attributetype ( 2.5.4.5 NAME 'serialNumber' EQUALITY caseIgnoreMatch
    SUBSTR caseIgnoreSubstringsMatch
    --- 310,316 ----

    attributetype ( 2.5.4.3 NAME ( 'cn' 'commonName' ) SUP name )

    + attributetype ( 2.5.4.4 NAME ( 'surname' 'sn' ) SUP name )

    attributetype ( 2.5.4.5 NAME 'serialNumber' EQUALITY caseIgnoreMatch
    SUBSTR caseIgnoreSubstringsMatch

    so I hand reorder the parameters of 2.5.4.4 from " 'surnamen' 'sn' " to
    " 'sn' 'surname' ", and all seems well.

    However, when I start up the two slapd servers, they complain that

    /usr/local/etc/openldap/schema/core.schema: line 290: AttributeType
    inappropriate matching rule: "caseIgnoreMatch"

    Has anyone run into this before? Any suggestions as to the proper fix?

    --
    Lew Pitcher
    IT Consultant, Enterprise Technology Solutions
    Toronto Dominion Bank Financial Group

    (Opinions expressed are my own, not my employers')
    Lew Pitcher Guest

  2. #2

    Default Re: Need advice on problems installing Netmeeting directory kit v1.2 with OpenLDAP 2.1.22 on Slackware 9.0

    com (Lew Pitcher) wrote in message news:<on.aibn.com>... 



    Lew,
    I've run into the same problem as you. I simply deleted the lines
    in the schema that the slapd server complained about. Can't claim
    that's a proper fix, but my severs are now running. The errors came
    up for both core.schema and netscape.schema, so watch the file you are
    editing (and ending paranthesis).

    After deleting all the appropriate lines in the schemas, the slave
    server, while not producing any more errors, was still not starting.
    I modified two lines in slapd2.conf to look like below:

    suffix "objectClass=RTPerson"
    rootdn "cn=root,objectClass=RTPerson"

    Now the slave server is starting, but I have run into another problem,
    so I'm not completely working yet. When I try to initialize the db I
    get the following error:

    adding new entry "objectClass=RTPerson"
    ldapadd: update failed: objectClass=RTPerson
    ldap_add: Object class violation (65)
    additional info: no structural object class provided

    Maybe my initialize script is just not tweaked right. It's getting
    late, so my brain is working much now. I hope the above gets you
    through your setup. If you get through the db initialization I'd be
    interested in hearing the fix. Good luck!

    Tom
    Tom Guest

  3. #3

    Default Re: Need advice on problems installing Netmeeting directory kit v1.2 with OpenLDAP 2.1.22 on Slackware 9.0

    On 24 Sep 2003 22:26:41 -0700, com (Tom Brogan) wrote:
    [snip] 

    Thanks for the information, Tom.

    It will take a couple of days, but I'll try out your tip see if I can get even a
    minimal ILS server running. I'll let you know how it turns out


    --
    Lew Pitcher
    IT Consultant, Enterprise Technology Solutions
    Toronto Dominion Bank Financial Group

    (Opinions expressed are my own, not my employers')
    Lew Guest

Similar Threads

  1. Installing via Active directory
    By TamC in forum Macromedia Shockwave
    Replies: 1
    Last Post: February 9th, 05:28 PM
  2. Modules not installing to standard LIB directory
    By Mark in forum PERL Modules
    Replies: 2
    Last Post: November 17th, 05:07 PM
  3. Replies: 1
    Last Post: February 8th, 12:23 AM
  4. F3 Problems- Need Advice
    By Wm Gardner in forum Photography
    Replies: 4
    Last Post: August 4th, 10:00 AM
  5. [slackware] installing older xfree86 over newer
    By Asa Rossoff in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: June 25th, 01:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139