Hi,
I found a bug which did not allow to use basic and digest authentication at the same time. Here is the patch:
--- src/server/shttpd/auth.orig.c 2008-06-10 16:26:13.000000000 -0700
+++ src/server/shttpd/auth.c 2008-06-10 16:26:20.000000000 -0700
@@ -292,7 +292,6 @@
cb = (int (*)(char *, char *)) auth->callback.v_func;
basic = 1;
}
- break;
}
}
if (lp == &c->ctx->uri_auths) //not a protected uri
Before patching, I was not able to use the configuration:
digest_password_file = /usr/local/etc/openwsman/digest_auth.passwd
basic_password_file = /usr/local/etc/openwsman/simple_auth.passwd
to enable Digest authentication.