summaryrefslogtreecommitdiffstats
path: root/source3/groupdb
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-04 15:09:00 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:12 -0800
commitae64a8ecd977d894e6ada253289d6369eec2f905 (patch)
tree65222a635b29fab08089cba9d55e1b5d3215a69f /source3/groupdb
parent216d9691803ce58da97458466fd0d2f964c26b83 (diff)
downloadsamba-ae64a8ecd977d894e6ada253289d6369eec2f905.tar.gz
samba-ae64a8ecd977d894e6ada253289d6369eec2f905.tar.xz
samba-ae64a8ecd977d894e6ada253289d6369eec2f905.zip
param: rename lp function and variable from "addusertogroup_script" to "add_user_to_group_script"
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index dfa825792d..f4313602ab 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -346,11 +346,11 @@ int smb_add_user_group(const char *unix_group, const char *unix_user)
/* defer to scripts */
- if ( *lp_addusertogroup_script(talloc_tos()) ) {
+ if ( *lp_add_user_to_group_script(talloc_tos()) ) {
TALLOC_CTX *ctx = talloc_tos();
add_script = talloc_strdup(ctx,
- lp_addusertogroup_script(ctx));
+ lp_add_user_to_group_script(ctx));
if (!add_script) {
return -1;
}