[Date Prev][Date Next]
Re: starting from scratch
melissa ramonolos wrote:
i hope you guys can help me...
i've realized that there's something wrong with the entries and so i've
decided to do it all over again:
Looking at these entries the look ok. You don't really need the
objectclass organization in the root-entry. And if you bind as
Manager or User you probably want to have some objectclass which
supports the userPassword attribute.
newbie that i am, i'm having trouble deleting these entries.i've tried
ldapdelete -D "cn=Manager,dc=bidster,dc=com" -W "dc=bidster,dc=com"
and mostly some other variations of that. however i only get
Delete Result: Operation not allowed on non-leaf (66)
Additional info: subtree delete not supported
OpenLDAP cannot automatically delete the subtree of the entry (subtree:
below the entry there are some others).
It should work when you specify the "-r" option (delete recursively).
Or take a look at gq, it supports subtree-delete and it's an UI (*urks*)
how should this be done, or is there a quick way to do this, like, just
deleting a file or something?
If you want to drop the whole database and there are a _lot_ of entries
you will be much faster to stop ldap, delete the database-storage (look
at the directory-statement in slapd.conf) and restart ldap. Now your
database is empty.
If you run replication it is probably better to delete the entries with
ldapdelete than logging on at every server and delete the database
locally - depends on how much servers you have ;)
thanks in advance for the help. :)
\\\ ||| /// _\=/_
( @ @ ) (o o)
| Markus Schabel TGM - Die Schule der Technik www.tgm.ac.at |
| IT-Service A-1200 Wien, Wexstrasse 19-23 net.tgm.ac.at |
| email@example.com Tel.: +43(1)33126/316 |
| firstname.lastname@example.org Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org) |
| oOOo Yet Another Spam Trap: oOOo |
| ( ) oOOo email@example.com ( ) oOOo |
+--------\ (----( )--------------------------\ ( -----( )-----+
\_) ) / \_) ) /
Computers are like airconditioners:
They stop working properly if you open windows.