return NULL;
}
- const char *path = ctx->dir->socket ? : INSTALL_RUN_DIR "/subauthd.socket";
+ const char *path = ctx->dir->socket ? : INSTALL_RUN_DIR "/subauthd/subauthd.socket";
struct sockaddr_un sun;
sun.sun_family = AF_UNIX;
if (strlen(path) >= sizeof(sun.sun_path)) {
# AuthType basic
# AuthName "Prove yourself!"
# AuthBasicProvider subauth
-# # SubAuthSocket /var/run/subauthd.socket
+# # SubAuthSocket /var/run/subauthd/subauthd.socket
# SubAuthZone web
# Require valid-user
# </Location>
.pamh = pamh,
.debug = 0,
.use_first_pass = 0,
- .socket_path = INSTALL_RUN_DIR "/subauthd.socket",
+ .socket_path = INSTALL_RUN_DIR "/subauthd/subauthd.socket",
.zone = "default",
.pool = mp_new(4096),
};