![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LDAP - is there an API | phykell | High Level Programming | 3 | 09-06-2008 06:03 AM |
| help with LDAP | n00b | SUN Solaris | 5 | 06-24-2008 04:12 AM |
| LDAP help | Katkota | UNIX for Dummies Questions & Answers | 0 | 12-06-2007 11:30 PM |
| Ldap | dipanrc | Linux | 2 | 12-28-2005 08:09 PM |
| Ssl Ldap | truma1 | UNIX for Advanced & Expert Users | 0 | 11-23-2004 08:51 AM |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
LDAP delete - seems not working
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 Any help will be appreciated. Thanks Last edited by almond; 06-08-2009 at 09:51 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|