From 70feedbfe38d6d63913faac6fae59f010ef59abc Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Thu, 10 May 2012 16:48:04 +0200 Subject: s3-loadparm: Add synonym "private directory". Karolin Autobuild-User: Karolin Seeger Autobuild-Date: Fri May 11 13:04:03 CEST 2012 on sn-devel-104 --- docs-xml/smbdotconf/security/privatedir.xml | 1 + source3/param/loadparm.c | 9 +++++++++ 2 files changed, 10 insertions(+) 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"> +private directory This parameters defines the directory smbd will use for storing such files as smbpasswd 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 @@ -722,6 +722,15 @@ static struct parm_struct parm_table[] = { .enum_list = NULL, .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, -- cgit