Resolves: bug 245665
Bug Description: The dsa library in Admin Server still heavily relies on the
concept of a server root. This library is used by the Directory Server cgi
The dsa library should try to get paths dynamically from the Directory
config when possible. Other paths that are not in the config, such as the
location of command-line utilities, should be passed in as a define at
Reviewed by: ???
Files: see diff
Fix Description: This pass eliminated the usage of a "server root" in
the dsa library.
I also refactored some of the code that was referring to the "install
it did not seem to really represent the directory that it refers to.
it to "instance dir" and adjusted the getter function and variables
accordingly. I needed to pass in the DS libdir as a define for being
find the instance dir in the code.
I also found that I was incorrectly using the lockdir config attribute
the rundir, which was causing problems for the start, stop, and
We don't have the rundir in cn=config by default, but we already have
it set as
a PIDDIR define, so I opted to use that instead. The start, stop, and
CGIs now work properly.
Platforms tested: FC6
Flag Day: no
Doc impact: no