summaryrefslogtreecommitdiff
path: root/docs/docbook/projdoc/pdb_xml.sgml
blob: 87afb7b4014f920fe7a4ebdae3b8407a8da57728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<chapter id="pdb-xml">
<chapterinfo>
	<author>
		<firstname>Jelmer</firstname><surname>Vernooij</surname>
		<affiliation>
			<orgname>The Samba Team</orgname>
			<address><email>jelmer@samba.org</email></address>
		</affiliation>
	</author>
	<pubdate>November 2002</pubdate>
</chapterinfo>

<title>Passdb XML plugin</title>

<sect1>
<title>Building</title>

<para>This module requires libxml2 to be installed.</para>

<para>To build pdb_xml, run: <command>make bin/pdb_xml.so</command> in 
the directory <filename>source/</filename>. </para>

</sect1>

<sect1>
<title>Usage</title>

<para>The usage of pdb_xml is pretty straightforward. To export data, use:

<command>pdbedit -e plugin:/usr/lib/samba/pdb_xml.so:filename</command>

(where filename is the name of the file to put the data in)
</para>

<para>
To import data, use:
<command>pdbedit -i plugin:/usr/lib/samba/pdb_xml.so:filename -e current-pdb</command>

Where filename is the name to read the data from and current-pdb to put it in.
</para>
</sect1>
</chapter>