Skip to contentSkip to conversation

Cluster Project branch, master, updated. cluster-2.99.05-23-gee712cf

Cluster-devel [email protected] 1 participant 1 message Jun 26, 2008

lore
Share & tools
lore
#0 lore raw

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=ee712cf5e8d6213c509d1dc536dac70332ae63fe

The branch, master has been updated

       via  ee712cf5e8d6213c509d1dc536dac70332ae63fe (commit)
      from  a006cbd31804652e23ab5dde423b2b2e7fa03f76 (commit)

Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.

- Log ----------------------------------------------------------------- commit ee712cf5e8d6213c509d1dc536dac70332ae63fe

Author: Christine Caulfield <[email protected]>
Date:   Thu Jun 26 17:22:23 2008 +0100

[CONFIG] Add ldap configurator

This is an openais configuration plugin to read the cluster config from an LDAP server. A schema file is included that provides just enough information to get a cluster running, more will follow.

There is also an example ldif file to show how to load the information into the database.

The defaults are slightly odd at the moment, I'll fix those as it develops and document how to override them. In the mean time see the top of the source code.

-----------------------------------------------------------------------

Summary of changes:

 config/plugins/Makefile               |    2 +-
 config/plugins/ldap/99cluster.ldif    |  120 ++++++++++++++
 config/plugins/{xml => ldap}/Makefile |    8 +-
 config/plugins/ldap/configldap.c      |  284 +++++++++++++++++++++++++++++++++
 config/plugins/ldap/example.ldif      |   89 ++++++++++
 5 files changed, 497 insertions(+), 6 deletions(-)
 create mode 100644 config/plugins/ldap/99cluster.ldif
 copy config/plugins/{xml => ldap}/Makefile (71%)
 create mode 100644 config/plugins/ldap/configldap.c
 create mode 100644 config/plugins/ldap/example.ldif
config/plugins/Makefile +1 -1
index 1305555..a067c80 100644
@@ -1,4 +1,4 @@
 include ../../make/defines.mk
 include $(OBJDIR)/make/passthrough.mk
 
-SUBDIRS=xml
+SUBDIRS=xml ldap
config/plugins/ldap/99cluster.ldif new file +120 -0

120 lines not on this page · raw message

config/plugins/ldap/Makefile renamed from config/plugins/xml/Makefile +3 -5
similarity index 71%
copy from config/plugins/xml/Makefile
copy to config/plugins/ldap/Makefile
index 9274336..efd764c 100644
@@ -1,4 +1,4 @@
-TARGET= config_xml.lcrso
+TARGET= config_ldap.lcrso
 
 LCRSOT=$(TARGET)
 
@@ -11,13 +11,11 @@ include $(OBJDIR)/make/install.mk
 include $(OBJDIR)/make/uninstall.mk
 
 CFLAGS += -fPIC
-CFLAGS += `xml2-config --cflags`
-CFLAGS += -I${cmanincdir}/../daemon
 CFLAGS += -I${incdir}
 
-LDFLAGS += `xml2-config --libs`
+LDFLAGS += -lldap
 
-OBJS=	config.o
+OBJS=	configldap.o
 
 ${TARGET}: ${OBJS}
 	$(CC) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS)
config/plugins/ldap/configldap.c new file +284 -0

284 lines not on this page · raw message

config/plugins/ldap/example.ldif new file +89 -0

90 lines not on this page · raw message

hooks/post-receive
--
Cluster Project