LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Setting open OpenLDAP on Ubuntu Maverick Meerkat (https://www.linuxquestions.org/questions/linux-software-2/setting-open-openldap-on-ubuntu-maverick-meerkat-840732/)

kamransoomro84 10-27-2010 08:21 AM

Setting open OpenLDAP on Ubuntu Maverick Meerkat
 
Hi,

I'm following the tutorial at http://ubuntuforums.org/showthread.php?t=1313472 to set up openldap on maverick. However, when I try to do
Code:

ldapadd -Y EXTERNAL -H ldapi:/// -f db.ldif
I get:
Code:

adding new entry "cn=module{0},cn=config"
ldap_add: Naming violation (64)

Any ideas what's wrong?

prayag_pjs 10-28-2010 02:15 AM

Hi,

The following order should be used. Replace example and Company with your own information.

Quote:

# Root node
dn: dc=example,dc=com
objectclass: dcObject
objectclass: organization
o: Company
dc: example
As suggested in the link you are following

follow

http://ubuntuforums.org/showthread.php?p=8154148

kamransoomro84 10-28-2010 05:05 AM

Thanks prayag_pjs. I'm afraid I won't be able to try this since I already removed Ubuntu and installed Debian. The openldap server on Debian is configured with a slapd.conf, in the old manner.


All times are GMT -5. The time now is 02:11 AM.