summaryrefslogtreecommitdiffstats
path: root/source3/groupdb
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-04 15:09:01 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:12 -0800
commitb61019f37900823f213daefbfaa31262868c10fd (patch)
tree92fd4cbfac2b79c3a937682580288dbe79d56875 /source3/groupdb
parent5abd5e0a30299b1c1baaf7fe06f72ac62ce831db (diff)
downloadsamba-b61019f37900823f213daefbfaa31262868c10fd.tar.gz
samba-b61019f37900823f213daefbfaa31262868c10fd.tar.xz
samba-b61019f37900823f213daefbfaa31262868c10fd.zip
param: rename lp function and variable from "setprimarygroup_script" to "set_primary_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 52daa1e4bc..ec4c11dd43 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -304,11 +304,11 @@ int smb_set_primary_group(const char *unix_group, const char* unix_user)
/* defer to scripts */
- if ( *lp_setprimarygroup_script(talloc_tos()) ) {
+ if ( *lp_set_primary_group_script(talloc_tos()) ) {
TALLOC_CTX *ctx = talloc_tos();
add_script = talloc_strdup(ctx,
- lp_setprimarygroup_script(ctx));
+ lp_set_primary_group_script(ctx));
if (!add_script) {
return -1;
}