Re: [squid-users] ldap auth

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 06 Dec 2001 19:37:24 +0100

Jack wrote:
>
> Hello all,
>
> squid_ldap_auth -b ou=Development,dc=ldap,dc=squid,dc=com -f uid=logu ldap

Think you actually want -f uid=%s

>
> jack jack
> squid_ldap_auth: error.c:221: ldap_parse_result: Assertion `r != ((void
> *)0)' failed.
> Aborted (core dumped)

This is an error message internal to OpenLDAP. Very hard to tell what
has gone wrong. Perhaps a stack trace could tell more.

gdb squid_ldap_auth
run -b ou=Development,dc=ldap,dc=squid,dc=com -f uid=%s ldap
jack jack

If if crashes, type
backtrace

> DN in ldif file is
> dn: uid=jack,ou=Development,dc=ldap,dc=squid,dc=com
>
> How to do squid_ldap_auth search for this dn.

If all your users are in the same ou using a flat user tree, then there
is no need to search. If your users are spread on different ou's then
specify the common part of the DN as base DN and use a search filter (-f
option).

Regards
Henrik Nordström
Squid Hacker
Received on Thu Dec 06 2001 - 12:00:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:15 MST