summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/test-plugins
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2007-08-13 15:35:36 +0000
committerRich Megginson <rmeggins@redhat.com>2007-08-13 15:35:36 +0000
commit496c14401c4432ed7e6579f42d55b0fd838778ac (patch)
treed86ce69052b75d6f72ae0b6520eed76764b956f0 /ldap/servers/slapd/test-plugins
parente381e43811ed2657c7f6a599abcc7c08b2a1bdc8 (diff)
downloadds-496c14401c4432ed7e6579f42d55b0fd838778ac.tar.gz
ds-496c14401c4432ed7e6579f42d55b0fd838778ac.tar.xz
ds-496c14401c4432ed7e6579f42d55b0fd838778ac.zip
Resolves: bug 251549FedoraDirSvr110b1_20070813
Bug Description: Change filesystem path naming from "fedora-ds" to "dirsrv" Reviewed by: nkinder (Thanks!) Fix Description: Mostly just changing the package name in configure.ac, and making sure we consistently use that in path naming (e.g. /etc/@PACKAGE_NAME@ or /etc/@PACKAGE_NAME_BASE@ for adminserver). Platforms tested: RHEL4, FC6 Flag Day: no Doc impact: Oh yes. QA impact: Any existing tests that depend on /path/brand-ds will need to change to use dirsrv. It is highly encouraged to use a macro or variable for the package name in any scripts to minimize the impact of future package name changes.
Diffstat (limited to 'ldap/servers/slapd/test-plugins')
-rw-r--r--ldap/servers/slapd/test-plugins/README6
-rw-r--r--ldap/servers/slapd/test-plugins/sampletask.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/ldap/servers/slapd/test-plugins/README b/ldap/servers/slapd/test-plugins/README
index dd890347..8edf5e60 100644
--- a/ldap/servers/slapd/test-plugins/README
+++ b/ldap/servers/slapd/test-plugins/README
@@ -188,7 +188,7 @@ When started, the server loads plug-ins.
1. Stop the server.
Console: Select the server; Object > Stop Server
- Command Line: cd [prefix]/usr/lib/<brand>-ds/slapd-[serverID] ; ./stop-slapd
+ Command Line: cd [prefix]/usr/lib/<PACKAGE_NAME>/slapd-[serverID] ; ./stop-slapd
2. Add the entry for the server plug-in to
[prefix]/var/lib/slapd-[serverID]/dse.ldif. For example:
@@ -198,7 +198,7 @@ When started, the server loads plug-ins.
objectClass: nsSlapdPlugin
objectClass: extensibleObject
cn: [My Server Plugin]
- nsslapd-pluginPath: [[prefix]/usr/lib/<brand>-ds/plugins/myveryown-plugin.so]
+ nsslapd-pluginPath: [[prefix]/usr/lib/<PACAKGE_NAME>/plugins/myveryown-plugin.so]
nsslapd-pluginInitfunc: [my_plugin_init]
nsslapd-pluginType: [myPluginType]
nsslapd-pluginEnabled: on
@@ -217,4 +217,4 @@ When started, the server loads plug-ins.
3. Restart the server.
Console: Object > Start Server
- Command Line: cd [prefix]/usr/lib/<brand>-ds/slapd-[serverID] ; ./restart-slapd
+ Command Line: cd [prefix]/usr/lib/<PACKAGE_NAME>/slapd-[serverID] ; ./restart-slapd
diff --git a/ldap/servers/slapd/test-plugins/sampletask.c b/ldap/servers/slapd/test-plugins/sampletask.c
index 88fe6f39..94f1ade8 100644
--- a/ldap/servers/slapd/test-plugins/sampletask.c
+++ b/ldap/servers/slapd/test-plugins/sampletask.c
@@ -39,7 +39,7 @@
*
* [How to set up the plugin for testing]
* 1. compile and package with the other plugins
- * 2. put the plugin libsampletask-plugin.so at <prefix>/usr/lib/<brand>-ds/plugins
+ * 2. put the plugin libsampletask-plugin.so at <prefix>/usr/lib/<PACKAGE_NAME>/plugins
* 3. register it as a plugin in dse.ldif
* Plugin entry:
* dn: cn=sampletask,cn=plugins,cn=config
@@ -47,7 +47,7 @@
* objectClass: nsSlapdPlugin
* objectClass: extensibleObject
* cn: sampletask
- * nsslapd-pluginPath: <prefix>/usr/lib/<brand>-ds/plugins/libsampletask-plugin.so
+ * nsslapd-pluginPath: <prefix>/usr/lib/<PACKAGE_NAME>/plugins/libsampletask-plugin.so
* nsslapd-pluginInitfunc: sampletask_init
* nsslapd-pluginType: object
* nsslapd-pluginEnabled: on