diff options
-rw-r--r-- | source3/auth/auth.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c index 4416f93fba..f9df255595 100644 --- a/source3/auth/auth.c +++ b/source3/auth/auth.c @@ -361,13 +361,14 @@ static NTSTATUS make_auth_context_text_list(struct auth_context **auth_context, } for (;*text_list; text_list++) { - DEBUG(5,("make_auth_context_text_list: Attempting to find an auth method to match %s\n", - *text_list)); struct auth_init_function_entry *entry; char *module_name = smb_xstrdup(*text_list); char *module_params = NULL; char *p; + DEBUG(5,("make_auth_context_text_list: Attempting to find an auth method to match %s\n", + *text_list)); + p = strchr(module_name, ':'); if (p) { *p = 0; |