[Fedora-directory-users] Delete an nsPwPolicyContainer?

Richard Megginson rmeggins at redhat.com
Thu Oct 5 18:03:57 UTC 2006


Justin Crawford wrote:
> Howdy,
>
> Is it possible to manually delete this entry using command-line LDAP
> tools?
>
> dn: cn=nsPwPolicyContainer,ou=the_ou,dc=our,dc=domain
> objectClass: nsContainer
> objectClass: top
> cn: nsPwPolicyContainer
> pwdpolicysubentry:
> cn="cn=nsPwPolicyEntry,ou=the_ou,dc=our,dc=domain",cn=nsPwPolicyContaine
> r,ou=the_ou,dc=our,dc=domain
>
> When I try to delete it with ldapdelete, the error indicates that the
> entry contains other entries:
>
> $ ldapdelete ... cn=nspwpolicycontainer,ou=the_ou,dc=our,dc=domain 
> Delete Result: Operation not allowed on non-leaf (66)
>
> Furthermore, when I view it in the console, it _appears_ to contain
> other entries (cn=nsPwPolicyEntry and cn=nsPwTemplateEntry).  However,
> it doesn't appear to contain other entries when I search from the
> command line.
Try adding |(objectclass=ldapSubentry) to your search filter e.g.
(|(objectclass=*)(objectclass=ldapSubentry))
> How do I get at its subtree, if indeed it has a real
> subtree?
>
> TIA,
>
> Justin Crawford
> justin.crawford at cusys.edu 
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20061005/54ac4b79/attachment.bin>


More information about the Fedora-directory-users mailing list