Re: Problems to compile squid with ldap auth on openBSD 4.3

2008-09-23 Thread Stuart Henderson
On 2008-09-23, Ricardo Augusto de Souza [EMAIL PROTECTED] wrote:
 I got some errors trying to compile squid with ldap auth on openbsd 4.3.

 I used squid from ports and  compiled its source and I got same error
 when I add --enable-auth=basic digest LDAP \  and
 --enable-basic-auth-helpers=NCSA YP LDAP \ to ./configure.

Use cvsweb and look at the -current version of the port, see how
that does things.



Re: Problems to compile squid with ldap auth on openBSD 4.3

2008-09-23 Thread Giancarlo Razzolini
Ricardo Augusto de Souza escreveu:
 Hi,

 I got some errors trying to compile squid with ldap auth on openbsd 4.3.

 I used squid from ports and  compiled its source and I got same error
 when I add --enable-auth=basic digest LDAP \  and
 --enable-basic-auth-helpers=NCSA YP LDAP \ to ./configure.



 Note I have already installed OpenLDAP .



 Can anyone help me please?

 Thanks
   
I took a look at the -current tree of the ports and noticed they've
created a new flavor of squid called ldap. This solves a problem that i
had for a long time compiling ldap-auth on squid with openbsd. I did
make 2 patches, one for squid-ldap-auth and other for squid-group-auth.
I recommend that you checkout the -current version of ports, and try to
compile squid the following way:

FLAVOR=ldap make install

If it works, then you're done. If it not works, i assume you might have
to compile the -current kernel and userland. Or, i could send you the
patches i made for it. Since on this list there is the demime, as me and
i sent to you the patches in private. But first, try with ports.

My regards,

-- 
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD Stable
Ubuntu 8.04 Hardy Heron
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85