Move pdb_xml to source/
authorJelmer Vernooij <jelmer@samba.org>
Tue, 5 Nov 2002 17:08:32 +0000 (17:08 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 5 Nov 2002 17:08:32 +0000 (17:08 +0000)
(This used to be commit b68106a79e4536fa82d75dd330d07dba51bfeaf4)

examples/pdb/xml/ChangeLog [deleted file]
examples/pdb/xml/Makefile.in [deleted file]
examples/pdb/xml/README [deleted file]
examples/pdb/xml/TODO [deleted file]
source3/passdb/pdb_xml.c [moved from examples/pdb/xml/pdb_xml.c with 98% similarity]

diff --git a/examples/pdb/xml/ChangeLog b/examples/pdb/xml/ChangeLog
deleted file mode 100644 (file)
index e44fa3b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-** This file is now deprecated - use CVS' log features **
-
-2002-06-13 Jelmer Vernooij <jelmer@samba.org>
- * Use SID's instead of RID's (just like samba-HEAD CVS)
- * Released 1.1
-
-2002-05-26 Jelmer Vernooij <jelmer@samba.org>
- * Update read support (didn't support all elements yet)
- * Released 1.0
-
-2002-05-26 Jelmer Vernooij <jelmer@samba.org>
- * Initial release
- * Released 0.5
diff --git a/examples/pdb/xml/Makefile.in b/examples/pdb/xml/Makefile.in
deleted file mode 100644 (file)
index 252641d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-PDB_OBJS       = pdb_xml.so 
-PDB_CFLAGS     = `xml2-config --cflags`
-PDB_LDFLAGS    = `xml2-config --libs`
-
-CC             = @CC@
-LIBTOOL                = libtool
-CFLAGS         = @CFLAGS@ $(PDB_CFLAGS)
-CPPFLAGS       = @CPPFLAGS@ $(PDB_CPPFLAGS)
-LDFLAGS                = @LDFLAGS@ $(PDB_LDFLAGS)
-LDSHFLAGS      = -shared
-srcdir         = @builddir@
-FLAGS          =  $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper  -I. $(CPPFLAGS) -I$(srcdir)
-
-# Default target
-
-default: $(PDB_OBJS)
-
-# Pattern rules
-
-%.so: %.lo
-       $(LIBTOOL) $(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $< 
-
-%.lo: %.c
-       $(LIBTOOL) $(CC) $(FLAGS) -c $<
-
-# Misc targets
-
-clean:
-       rm -rf .libs
-       rm -f core *~ *% *.bak \
-       $(PDB_OBJS) $(PDB_OBJS:.so=.o) $(PDB_OBJS:.so=.lo) 
diff --git a/examples/pdb/xml/README b/examples/pdb/xml/README
deleted file mode 100644 (file)
index afb08fd..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Readme for samba pdb xml 0.5
---
-This module requires libxml2 to be installed.
-
-The usage of pdb_xml is pretty straightforward. To export data, use:
-
-pdbedit -e plugin:/usr/lib/samba/pdb_xml.so:filename
-
-(where filename is the name of the file to put the data in)
-To import data, use:
-
-pdbedit -i plugin:/usr/lib/samba/pdb_xml.so:filename -e <current-pdb>
-
-Where filename is the name to read the data from and <current-pdb> to put it in.
diff --git a/examples/pdb/xml/TODO b/examples/pdb/xml/TODO
deleted file mode 100644 (file)
index 3947bb6..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-- Be faster. Don't rewrite the whole file when adding a user, but store
-  it in the memory and save it when exiting. Requires changes to samba source.
-  Gives the ability to read/write to standard input/output
-- Do locking!
-- Better names!
-- Support stdin ?
similarity index 98%
rename from examples/pdb/xml/pdb_xml.c
rename to source3/passdb/pdb_xml.c
index a8b26d6f5f396ea15cdf7968227f51a5665ea18d..27f0b12a5eedfa4cf0a66563321e8be17a60bfb4 100644 (file)
  * Mass Ave, Cambridge, MA 02139, USA.
  */
 
-/* FIXME: Support stdin input by using '-' */
+/* FIXME: 
+ * - Support stdin input by using '-'
+ * - Be faster. Don't rewrite the whole file when adding a user, but store it in the memory and save it when exiting. Requires changes to samba source.
+ * - Gives the ability to read/write to standard input/output
+ * - Do locking!
+ * - Better names!
+ */
+
 
 #define XML_URL "http://www.samba.org/ns"