[Date Prev][Date Next]
Re: Configuring OpenLDAP on Ubuntu 8.10
- To: Dieter Kluenter <email@example.com>
- Subject: Re: Configuring OpenLDAP on Ubuntu 8.10
- From: Parag Kalra <firstname.lastname@example.org>
- Date: Sun, 20 Sep 2009 12:44:05 +0530
- Cc: email@example.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=0Na0eecU/Tu+QtiHiHsOpQTJlci3UpEk3LYPd0k+mY4=; b=sKL6ru/9b4Rro3KV0bXwov8WLjiSUrqpQA9TZxWDRq1AffcJTxXmXkZ5nADQwwxhhs pDDG3Cwk8GfnWdCwXvnd/TYLyHeoyegwHivpz5Q06yqIgjZBe3wcrJAQhf7eJ2mfznX+ 4fSFzev/Mykr/rmRhfNoLKvUHXvwZlWDutz70=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=PHR/bLm8wuvDRoO75jR0McQ7QqL1i2rvViLWwCDyoHV1kGYFnWt6dEKxhYxv62fvbN +Ydfmp0kQUXnZYnWAynrWYihTXmJrgKHPGveZx2eiFGLsJnxSp3sOFgDX3pJjcQqhVer lJeOu2NXY8zxCVN7yH0tI2aHEwqguSxSErPuc=
- In-reply-to: <firstname.lastname@example.org>
- References: <email@example.com> <firstname.lastname@example.org>
First let me thank - Zdenek, I was able to connect to my ldap server using 'phpldapadmin'.
As I am new to LDAP I would again like appologize if my questions are funny...anyways coming back to the problem...
During installation it only asked for the password and not for base root settings. However on doing 'Googly' I found that on Ubuntu the settings are 'cn=admin,cn=config'
Then using the password and above settings I was able to login through 'phpldapadmin'. On logging in I can see my root base dn set to 'dc=example,dc=com'. Kindly correct me if I am wrong - if those are my base root settings I am okay with it. Also PFA screenshot to have a look at my settings.
Now my next aim is to add a organisational unit to it. So my ldiff file looks like following:
# ldapadd -D "cn=admin,cn=config" -W -x -f add_ou.ldiff
Enter LDAP Password:
adding new entry "ou=family,dc=example,dc=com"
ldap_add: Server is unwilling to perform (53)
additional info: no global superior knowledge
I tried the same thing through ldap browser - 'phpldapadmin' but getting the same error.
Where am I going wrong?
On Sun, Sep 20, 2009 at 12:14 PM, Dieter Kluenter <email@example.com>
> really funny [icon_s]
Parag Kalra <firstname.lastname@example.org
> Hello Folks,
> I just installed OpenLDAP ('slapd-2.4.11') and 'ldap-utils' on my Ubuntu 8.10
> using Synaptic Manager.
> I have following queries related to configuring LDAP on Ubuntu. First &
> Foremost I am completely new to LDAP so please don't mind if my questions are
>The file /etc/openldap/ldap.conf contains information for ldap
> 1. After installation the file '/etc/ldap/ldap.conf' doesn't seem to contain
> the parameters like 'rootpw' & 'rootdn'. Am I seeing the wrong file or is
> there any other ldap configuration file on Ubuntu?
clients and not the server configuration.
Ubuntu creats the configuration backend cn=config, there should be a
directory /etc/openldap/slapd./ which contains all relavant data. This
data can be modified by means of the protocol, that is via openldap
tools like ldapmodify or a GUI tool to your liking.
you have answered all questions when setting up the server, so you
> 2. What is my default root node address and how to change it?
>The naming of the directory information base is not dependend of the
> 3. My machine doesn't have any FQDN. Its name is - 'station3' and I don't
> intend to give it a FQDN. Now my question can I have my root node address set
> to 'dc=station3,dc=home'? If yes, then I guess it has to be through
> 'ldapmodify' but can someone please share the exact syntax?
domain name service.
The easiest way to modify the database is to delete cn=config and all
database files, probably in /var/lib/ldap, and start from scratch.
Dieter Klünter | Systemberatung
GPG Key ID:8EF7B6C6
Description: PNG image