summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2012-05-10 16:48:04 +0200
committerKarolin Seeger <kseeger@samba.org>2012-05-11 13:04:03 +0200
commit70feedbfe38d6d63913faac6fae59f010ef59abc (patch)
treebd8a6b40fb99f5e7406cae1d9325cb1cfbbf5e87
parent31db7d298577f18d70b0a8241a92dc8a1dc782bd (diff)
downloadsamba-70feedbfe38d6d63913faac6fae59f010ef59abc.tar.gz
samba-70feedbfe38d6d63913faac6fae59f010ef59abc.tar.bz2
samba-70feedbfe38d6d63913faac6fae59f010ef59abc.zip
s3-loadparm: Add synonym "private directory".
Karolin Autobuild-User: Karolin Seeger <kseeger@samba.org> Autobuild-Date: Fri May 11 13:04:03 CEST 2012 on sn-devel-104
-rw-r--r--docs-xml/smbdotconf/security/privatedir.xml1
-rw-r--r--source3/param/loadparm.c9
2 files changed, 10 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/security/privatedir.xml b/docs-xml/smbdotconf/security/privatedir.xml
index d0cbcfad59..46d4a8297c 100644
--- a/docs-xml/smbdotconf/security/privatedir.xml
+++ b/docs-xml/smbdotconf/security/privatedir.xml
@@ -3,6 +3,7 @@
type="string"
advanced="1" developer="1"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<synonym>private directory</synonym>
<description>
<para>This parameters defines the directory
smbd will use for storing such files as <filename moreinfo="none">smbpasswd</filename>
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index e781048d8e..7d82b615e7 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -723,6 +723,15 @@ static struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED,
},
{
+ .label = "private directory",
+ .type = P_STRING,
+ .p_class = P_GLOBAL,
+ .offset = GLOBAL_VAR(szPrivateDir),
+ .special = NULL,
+ .enum_list = NULL,
+ .flags = FLAG_HIDE,
+ },
+ {
.label = "passdb backend",
.type = P_STRING,
.p_class = P_GLOBAL,