summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-05-16 20:36:28 -0400
committerGünther Deschner <gd@samba.org>2009-05-29 18:03:56 +0200
commitf48e39540c9767e9077e7534a6d410b4ce597c86 (patch)
treeff28231947b4a63aab85daf2b37001c849738ca0 /source3/param
parent64d1b5c4e1efd734176c1ea6e5e564e626128b4f (diff)
downloadsamba-f48e39540c9767e9077e7534a6d410b4ce597c86.tar.gz
samba-f48e39540c9767e9077e7534a6d410b4ce597c86.tar.bz2
samba-f48e39540c9767e9077e7534a6d410b4ce597c86.zip
Consolidate create/delete account paths in pdbedit
Use common paths like for smbpasswd, so that all utilities behave the same way. As for smbpasswd this changes the behavior of pdbedit to create/delete unix users is the add/delete user scripts are provided, or ldapsam:editposix is configured. Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 57fdb6e044..7e4371bf0b 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9775,3 +9775,8 @@ const char *lp_socket_address(void)
}
return Globals.szSocketAddress;
}
+
+void lp_set_passdb_backend(const char *backend)
+{
+ string_set(&Globals.szPassdbBackend, backend);
+}