Thread-topic: Is there a kind of "LDAP First Aid"?
User-agent: Microsoft-Entourage/12.10.0.080409
On 5/12/08 9:19 PM, "Nathan Zamprogno" <email@hidden> wrote:
> The LDAP database in our OS-X Server has been carried over via
> various processes (straight in-place upgrades, migrations,
> export/import operations) since our AppleShareIP days, and passing
> through every 10.x along the way. I've long thought we've accumulated
> some kind of cruft in it.
>
> Is there anything, even on the command line, that acts as a kind of
> LDAP rebuilder and integrity checker? Surely with a database complex
> enough to hold all that user, group and computer account information
> and metadata, there must be some tool we can run to check that all is
> well.
Relatively speaking, I don't think a typical LDAP database is that
complicated. It may have a lot of records, but the structure seems pretty
simple.
I suppose there's the slapindex command, which rebuilds the db indices. You
have to shut down LDAP to run it. And as the man page says (if you have a
large database anyway), "this command provides ample opportunity for the
user to obtain and drink their favorite beverage."
Perhaps this is somewhat naïve, but shouldn't a decent database be fairly
self-maintaining anyway? If you're not actually experiencing problems, it
may not be worth worrying about.
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden