squid ldap auth on OpenBSD

2006-10-06 Thread Alexandre ADAM
Hello, I try to configure squid with a ldap authentification on a OpenBSD 3.9. I wanted to use squid_ldap_auth but I can not find on my server. Nothing is availabIe on the system about squid and ldap configuration. I red lot of FAQ (squid and *BSD) but I found noting to solve my problem. Can

Re: squid ldap auth on OpenBSD

2006-10-06 Thread Andre Naehring
Hello Alexandre! This is how I did it the last time. Hello, I try to configure squid with a ldap authentification on a OpenBSD 3.9. I wanted to use squid_ldap_auth but I can not find on my server. Nothing is availabIe on the system about squid and ldap configuration. cd

Re: squid ldap auth on OpenBSD

2006-10-06 Thread Alexandre ADAM
thanx Andre ! I've done modifications. But when I launch make again, there is the following error message : warning: strcpy() is almost always misused, please use strlcpy() Do you know what means this message ? Andre Naehring a C)crit : Hello Alexandre! This is how I did it the last time.

Re: squid ldap auth on OpenBSD

2006-10-06 Thread Andreas Maus
Hi Alexandre. On 10/6/06, Alexandre ADAM [EMAIL PROTECTED] wrote: But when I launch make again, there is the following error message : warning: strcpy() is almost always misused, please use strlcpy() Thats not an error. Its just a warning. Do you know what means this message ? It means that

Re: squid ldap auth on OpenBSD

2006-10-06 Thread Andre Naehring
Salute Alexandre, is this an error when you cannot run make successfully? Or only the warning? For me, it seems to be a compiler warning, nothing to care for you at the moment when make completes successfully. But I think this is a squid related warning. So, the squid authors should correct

Re: squid ldap auth on OpenBSD

2006-10-06 Thread Alexandre ADAM
thanx a lot, it works ! It was a warning message, it wasn't a problem (see Andreas answer). I've modified squid.conf by adding the following line to use the Ldap authentification : auth_param basic program /usr/local/libexec/squid_ldap_auth -b ou=MyTree -u uid -h MyLDAPserver and it worked at