Decent DSrepair on Linux
(If you don’t use Novell eDirectory just skip this post)
When people migrate or move their eDirectory from Netware to Linux they’ll notice that they loose a great tool to manage eDirectory (dsrepair), well in theory they don’t really loose it but on Linux this easy-to-use netware tool is replaced with a command line tool to do the same tasks. (ndsrepair)
This is not a problem for basic stuff but as soon as you want to do more advanced stuff (managing replicas, partitions,…) this command line stuff really lacks a good interface.
BUT (have no fear)…!
A while ago we found a cool solutions article from a guy who wrote a wrapper script for ndsrepair which provides a similar interface like the traditional dsrepair on Netware. A must have for everyone who maintains and manages eDirectory instances.
I packaged the script which is called dsrmenu. You can get if from here or just via http://software.opensuse.org/search
June 13th, 2008 - Posted in edirectory | | 0 Comments
Simple eDirectory backup
It’s so simple and can save you a lot of time…
Here is a simple script I use from time to time.
Just throw it in /etc/cron.daily and make sure it is executable
#!/bin/sh
# Simple eDirectory backup script
# See also TID 10072014
# will make sure we have a rotating backup (1,2,3…7)
SEQ=$(date +%u)
# user DN to bind to eDirectory
USER_DN=”cn=admin.o=company”
# execute the backup command
/usr/bin/ndsbackup cvf /backup/edirectory/nds-full-backup.$SEQ -a $USER_DN -p mypassword “Full Directory Backup”
March 25th, 2008 - Posted in Novell, edirectory | | 0 Comments
