The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
LDAP delete - seems not working almond High Level Programming 0 06-08-2009 09:43 AM
LDAP authentication question bptronics Security 1 04-12-2008 08:47 AM
LDAP question Katkota UNIX for Dummies Questions & Answers 0 01-07-2008 02:13 PM
LDAP in Solaris question Katkota UNIX for Dummies Questions & Answers 0 12-24-2007 10:53 PM
LDAP Question moe2266 UNIX for Dummies Questions & Answers 1 08-07-2007 05:11 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-09-2009
almond almond is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 6
LDAP delete - question

Hi all,

I am very new to ldap and am facing the below difficulty.

When I try to add something to ldap, I get this:

server# /opt/iexpress/openldap/bin/ldapmodify -f almondabc.ldif -h 127.0.0.1 -xv -D cn=Manager,dc=almondabc,dc=com -w secret
ldap_initialize( ldap://127.0.0.1 )
add o:
almondabc Software
add dc:
almondabc
add objectclass:
dcObject
top
organization
adding new entry "dc=almondabc,dc=com"
ldap_add: Already exists (68)

server#

Then I try to delete the entry, by the following:

/opt/iexpress/openldap/bin/ldapdelete -r -v -x -D "cn=Manager,dc=almondabc,dc=com" -h 127.0.0.1 -w secret "dc=almondabc,dc=com"

But then also I get the same result on executing the same ldapmodify command

My LDIF file is:

LDIF File:
----------

dn: dc=almondabc,dc=com
changetype: add
o: almondabc Software
dc: almondabc
objectclass: dcObject
objectclass: top
objectclass: organization

dn: cn=Manager,dc=almondabc,dc=com
objectClass: top
objectclass: organizationalRole
cn: Manager

dn: ou=Development,dc=almondabc,dc=com
ou: Development
objectClass: top
objectclass: organizationalUnit

dn: cn=johny+uid=s001,dc=almondabc,dc=com
cn: johny
uid: s001
ou: Development
objectClass: top
objectClass: persona
objectClass: organizationalPersona
objectClass: intertOrgPersona
facsimileTelephoneNumber: +1 222 589 7894
mail: johny@mail.com
sn: johny
userPassword: johny

What should I do to remove the ldap entries??

Any help will be appreciated.
Thanks
Almond
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0