summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/winbind/wb_utils.c')
-rw-r--r--source4/winbind/wb_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/winbind/wb_utils.c b/source4/winbind/wb_utils.c
index 43effc3028..ffc4aa1950 100644
--- a/source4/winbind/wb_utils.c
+++ b/source4/winbind/wb_utils.c
@@ -31,10 +31,10 @@ bool wb_samba3_split_username(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_c
const char *domuser,
char **domain, char **user)
{
- char *p = strchr(domuser, *lp_winbind_separator(lp_ctx));
+ char *p = strchr(domuser, *lpcfg_winbind_separator(lp_ctx));
if (p == NULL) {
- *domain = talloc_strdup(mem_ctx, lp_workgroup(lp_ctx));
+ *domain = talloc_strdup(mem_ctx, lpcfg_workgroup(lp_ctx));
} else {
*domain = talloc_strndup(mem_ctx, domuser,
PTR_DIFF(p, domuser));