[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: starting from scratch
melissa ramonolos wrote:
hello,
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.
dn: dc=bidster,dc=com
objectclass: dcObject
objectclass: organization
o: bidster
dc: bidster
dn: cn=Manager,dc=bidster,dc=com
objectclass: organizationalRole
cn: Manager
dn: cn=User,dc=bidster,dc=com
objectclass: organizationalRole
cn: User
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. :)
~*Melisse*~
regards
Markus
--
\\\ ||| /// _\=/_
( @ @ ) (o o)
+--------oOOo-(_)-oOOo--------------------------oOOo-(_)-oOOo------+
| Markus Schabel TGM - Die Schule der Technik www.tgm.ac.at |
| IT-Service A-1200 Wien, Wexstrasse 19-23 net.tgm.ac.at |
| markus.schabel@tgm.ac.at Tel.: +43(1)33126/316 |
| markus.schabel@members.fsf.org Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org) |
| oOOo Yet Another Spam Trap: oOOo |
| ( ) oOOo yast@tgm.ac.at ( ) oOOo |
+--------\ (----( )--------------------------\ ( -----( )-----+
\_) ) / \_) ) /
(_/ (_/
Computers are like airconditioners:
They stop working properly if you open windows.