summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-25 09:47:52 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-25 09:47:52 +0000
commit910da34e6db73e24bd93176c80a3fd9908bd870a (patch)
tree26c77c60297ae0a04dfb9977f8e7000a476c6cb5
parent148d95ab87b495bff14fdfb2d7cdcbc354171b6e (diff)
downloadsamba-910da34e6db73e24bd93176c80a3fd9908bd870a.tar.gz
samba-910da34e6db73e24bd93176c80a3fd9908bd870a.tar.bz2
samba-910da34e6db73e24bd93176c80a3fd9908bd870a.zip
Make auth.c compile again. I'm not sure what this does though...
Volker (This used to be commit 8e3f300f21e23b7e6b68ddcc45d581a962cd8aa4)
-rw-r--r--source3/auth/auth.c5
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;