nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

OpenLdap Error

This is a discussion on OpenLdap Error within the Getting started tutorials forums, part of the Linux Getting Started category; Hi All, I am unable to configure OpenLDAP, When i importing local user to LDAp user, I got the following ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-07-2008, 01:32 AM
Junior Member
User
 
Join Date: Jun 2008
OS: Fedora / Redhat
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sk_kgs is an unknown quantity at this point
Default OpenLdap Error

Hi All,

I am unable to configure OpenLDAP, When i importing local user to LDAp user, I got the following error,

Please help me

[root@vistest openldap]# ldapadd -x -D "cn=Manager,dc=vistest,dc=com" -W -f /etc/openldap/vistest.com.ldif
Enter LDAP Password:
adding new entry "dc=vistest,dc=com"
ldapadd: Already exists (6


Thanks & Regards
Siva
Reply With Quote
  #2 (permalink)  
Old 31-03-2009, 06:04 PM
Junior Member
User
 
Join Date: Mar 2009
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jayendren is on a distinguished road
Default

Quote:
Originally Posted by sk_kgs View Post
Hi All,

I am unable to configure OpenLDAP, When i importing local user to LDAp user, I got the following error,

Please help me

[root@vistest openldap]# ldapadd -x -D "cn=Manager,dc=vistest,dc=com" -W -f /etc/openldap/vistest.com.ldif
Enter LDAP Password:
adding new entry "dc=vistest,dc=com"
ldapadd: Already exists (6


Thanks & Regards
Siva
Hi Siva,
sounds like the entry already exists ;p
Trying to search for the entry using:
ldapsearch -x -b"dc=vistest,dc=com" "objectclass=*"

and if you want to replace it, backup, then delete the entry using:
ldapdelete -D"cn=Manager,dc=vistest,dc=com" -w password

enter the dn of the entry that needs to be deleted, and press control d

The dn can be found in ur ldif file, example:

o=xposed.com,o=jay
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
openldap configuration on rhel5 chandar Getting started tutorials 2 12-02-2008 09:34 AM
Howto setup OpenLDAP Kerberos on Linux with Windows ssent12 Networking, Firewalls and Security 2 16-03-2007 09:51 AM
Invalid ICMP type 3 code 3 error to a broadcast -samba error raj Linux software 0 09-07-2006 04:38 AM


All times are GMT +5.5. The time now is 11:51 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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