Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8821771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:56:10+00:00 2026-06-14T05:56:10+00:00

Doing testing on ldapjs => ldapjs guide . I am at the part, where

  • 0

Doing testing on ldapjs => ldapjs guide.

I am at the part, where a new enry is being added to ldap, giving the command:

ldapadd -H ldap://localhost:1389 -x -D cn=root -w secret -f ./user.ldif

the user.ldif file is the following (see link)

dn: cn=ldapjs, ou=users, o=myhost
objectClass: unixUser
cn: ldapjs
shell: /bin/bash
description: Created via ldapadd

However when giving the ‘add’ command, I get:

adding new entry "cn=ldapjs, ou=users, o=myhost"
ldap_add: Operations error (1)
matched DN: ou=users, o=myhost
additional info: Cannot read property 'ldapjs' of undefined

I do not get the given error.
What is actually suppose to be done to fix this?
I did not find any information about this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:56:11+00:00Added an answer on June 14, 2026 at 5:56 am

    Did more examples I found.
    Modified the ‘/etc/ldap/ldap.conf’ according to this example.
    More specifically I tried modifying the ‘ldap.conf’-file with only these schemas included (as in the example):

    include         /usr/local/etc/openldap/schema/core.schema
    include         /usr/local/etc/openldap/schema/cosine.schema
    include         /usr/local/etc/openldap/schema/inetorgperson.schema
    

    The rest does not seem to be (yet) relevant for the ldap.js test I am doing:

    One of these schemas likely holds this ‘unixUser’ as a parent schema (or as an objectclass, included by inheritance).

    Rebooted the ‘slapd’ service after the modifications to ‘ldap.conf’ (my bet it is needed, so didn’t even try without reboot):

    sudo /etc/init.d/slapd restart
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am doing some testing on a new html5-css3 framework and I want to
Being frustrated about fragment behavior, I started doing some testing. I have one activity
So I was doing some testing with the new data type long long when
I've been doing testing work in Python using QtWebkit/Spynner. As QtWebKit has Javascript support
I am having a problem on my local machine when I am doing testing.
While doing performance testing on windows, i usually use perfmon. But when i put
I'm currently doing some testing to determine the performance implications of including an index
Currently I am doing acceptance testing of my web applications using Cucumber and webrat.
I am doing some testing for a very large website, created many different developers.
I am running JUnit 4.10 on Eclipse 3.7. I am doing database testing: database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.