mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-26 23:59:41 +08:00
Services: threadperclient with PAM, LDAP or Windows authentication
struct auth has blocks, for an authentication waiting other than in sockpoll(): PamAuth, LdapPlugin and WindowsAuthentication set it, and a service authenticating with one of them gives each client a thread. Incompatible for plugins, which have to be built again with the same version of 3proxy: struct auth has blocks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5d3f1e9567
commit
df993b5304
6 files changed
+8
No files matched your search
@@ -80,6 +80,7 @@ PLUGINAPI int PLUGINCALL WindowsAuthentication(struct pluginlink * pluginlink, i
|
||||
alwaysauth.authenticate = windowsfunc;
|
||||
alwaysauth.authorize = pluginlink->checkACL;
|
||||
alwaysauth.desc = "windows";
|
||||
alwaysauth.blocks = 1;
|
||||
alwaysauth.next = pluginlink->authfuncs->next;
|
||||
pluginlink->authfuncs->next = &alwaysauth;
|
||||
loaded = 1;
|
||||
|
||||
Reference in new issue
Block a user