public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - config: Add reload to LDAP plugin
@ 2009-04-28 7:41 Christine Caulfield
0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2009-04-28 7:41 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=c05898ee8365a6a0046ff7eb2497d4a94ebbab80
Commit: c05898ee8365a6a0046ff7eb2497d4a94ebbab80
Parent: 88b7e9dbedea49729ee1d5ff2407bed4e740132d
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Tue Apr 28 08:41:01 2009 +0100
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Tue Apr 28 08:41:01 2009 +0100
config: Add reload to LDAP plugin
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
config/plugins/ldap/configldap.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/config/plugins/ldap/configldap.c b/config/plugins/ldap/configldap.c
index c739e9a..704763f 100644
--- a/config/plugins/ldap/configldap.c
+++ b/config/plugins/ldap/configldap.c
@@ -20,6 +20,7 @@
#define DEFAULT_LDAP_BASEDN "dc=chrissie,dc=net"
static int ldap_readconfig(struct objdb_iface_ver0 *objdb, const char **error_string);
+static int ldap_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, const char **error_string);
static int init_config(struct objdb_iface_ver0 *objdb);
static char error_reason[1024];
static const char *ldap_url = DEFAULT_LDAP_URL;
@@ -30,7 +31,8 @@ static const char *ldap_basedn = DEFAULT_LDAP_BASEDN;
*/
static struct config_iface_ver0 ldapconfig_iface_ver0 = {
- .config_readconfig = ldap_readconfig
+ .config_readconfig = ldap_readconfig,
+ .config_reloadconfig = ldap_reloadconfig
};
static struct lcr_iface ifaces_ver0[2] = {
@@ -72,6 +74,11 @@ static int ldap_readconfig(struct objdb_iface_ver0 *objdb, const char **error_st
return ret;
}
+static int ldap_reloadconfig(struct objdb_iface_ver0 *objdb, int flush, const char **error_string)
+{
+ return ldap_readconfig(objdb, error_string);
+}
+
/*
* Convert hyphens to underscores in all attribute names
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-28 7:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-28 7:41 cluster: STABLE3 - config: Add reload to LDAP plugin Christine Caulfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).