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 3333988
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:51:21+00:00 2026-05-17T23:51:21+00:00

After configuring apache2 and svn inside Ubuntu 10.04 serve I’m pretending to install OpenLDAP

  • 0

After configuring apache2 and svn inside Ubuntu 10.04 serve I’m pretending to install OpenLDAP to use LDAP protocol to configure and administrate users and groups with the svn repositories.

However it seems that OpenLDAP recently went through some modifications and the Ubuntu official documentation about OpenLDAP is out of date.

I found some forums and blogs giving methods to work with OpenLDAP but none of then uses the same algorithm for configuration so I’m not sure what is and what isn’t appropriated to implement. Hopping to see some replies with reliable info 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-05-17T23:51:21+00:00Added an answer on May 17, 2026 at 11:51 pm

    I’ve just done the same thing. Here are the best links I could find:

    http://tuxnetworks.blogspot.com/2010/06/howto-ldap-server-on-1004-lucid-lynx.html

    http://albanianwizard.org/ubuntu-10-0-4-lucid-lynx-ldap-configuration-the-working-how-to.albanianwizard

    I also found this script to convert OpenLDAP schemas into .ldif format (although I had to tweak the script a bit to get it to work):

    http://blogs.oracle.com/Ludo/entry/opends_tips_adding_schema_from

    Finally, I offer these two bash scripts which are based on the info in these links, and helped me when I was developing 🙂

    #!/bin/bash
    # reset_OpenLDAP.sh
    
    if [[ $EUID -ne 0 ]]; then
       echo "This script must be run as root!" 1>&2
       exit 1
    fi
    
    aptitude -y purge slapd ldap-utils
    cat /dev/null > /var/log/debug
    rm /var/lib/ldap/*
    rm  -rf /etc/ldap
    apt-get -y install slapd ldap-utils
    

    and

    #!/bin/bash
    # initialize_OpenLDAP.sh
    
    if [[ $EUID -ne 0 ]]; then
       echo "This script must be run as root!" 1>&2
       exit 1
    fi
    
    ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/cosine.ldif
    ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/nis.ldif
    ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/inetorgperson.ldif
    python schema-convert.py <custom_schema>.schema | ldapadd -Y EXTERNAL -H ldapi:///
    
    ldapadd -Y EXTERNAL -H ldapi:/// -f backend.ldif
    
    ldapadd -x -D cn=admin,<BASE_DN> -W -f frontend.ldif
    

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i just come to install maven2, after configuring the settings.xml in ${user.home}/.m2 and fixing
After installing and configuring cluetip, i realized that the urls you hover over to
after I run node-waf configure and node-waf build , a .lock-wscript show in my
I am trying to run a simple cgi script after configuring my server. My
I have an SVN repository that is configured to use Basic authentication through Apache
I'm configuring Django on Apache under Ubuntu 11.04. My media files is not available.
After configuring the datasources in the jboss 5.0 AS , I deployed the jbpm
After configuring my iPhone app for unit testing, I belatedly noticed this warning in
After configuring and running jPlayer 2.0.0 in Firefox 3.6.13, where everthing runs smooth, the
I'm an Emacs user with no skills with regards to configuring the editor. After

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.