Markus.Forrer@coop.ch wrote:
[snip]
>
> When I try to use the auth program with Squid, I get the following error.
>
> assertion failed: acl.c:1346 "OK"
>
[snip]
I did a little bit of looking, and noticed that the group_ldap_auth
patch does not actually change how squid expects a response from this
module while the module responds with (non standard) "p", "p <group>",
and "f" ... So, a quick patch to it should change it back to the
default squid "OK" and "ERR" ... Hope this helps. Please let me know.
(Be sure to use "patch -p2")
diff -r -u old/squid-2.3.STABLE3/auth_modules/GROUP_LDAP/group_ldap_auth.c new/squid-2.3.STABLE3/auth_modules/GROUP_LDAP/group_ldap_auth.c
--- old/squid-2.3.STABLE3/auth_modules/GROUP_LDAP/group_ldap_auth.c Wed Jun 27 10:54:24 2001
+++ new/squid-2.3.STABLE3/auth_modules/GROUP_LDAP/group_ldap_auth.c Wed Jun 27 11:25:33 2001
@@ -140,13 +140,9 @@
#endif
if (err == 0) {
- if (group == NULL) {
- printf("p\n");
- } else {
- printf("p %s\n", group);
- }
+ printf("OK\n");
} else {
- printf("f\n");
+ printf("ERR\n");
}
/* free the glist */
PeterS
Received on Wed Jun 27 2001 - 10:47:51 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:51 MST