Re: django-ldap-auth authentication lasts several minutes on OpenBSD

2021-12-06 Thread Maksim Rodin
Thank you very much. It really seems to be a DNS issue. On Пн 06 дек 2021 09:04:15, Michael Hekeler wrote: > > The only machine using another DNS server from my router is the Linux Mint > > development machine > > which holds the copy of my code and also runs django development > > server on 127.

Re: django-ldap-auth authentication lasts several minutes on OpenBSD

2021-12-06 Thread Michael Hekeler
> The only machine using another DNS server from my router is the Linux Mint > development machine > which holds the copy of my code and also runs django development > server on 127.0.0.1:8080 and from where everything works without delays. ^^

Re: django-ldap-auth authentication lasts several minutes on OpenBSD

2021-12-03 Thread Maksim Rodin
This is very strange because all involved machines are using one and the same internal dns server on the Samba ADDC as a resolver which I made resolve all the names and addresses needed during authentication process: 1) Samba ADDC (aka the LDAP server) resolves its name and its IP. 2) Django OpenB

Re: django-ldap-auth authentication lasts several minutes on OpenBSD

2021-12-03 Thread Stuart Henderson
On 2021-12-03, Maksim Rodin wrote: > The AD DC machine is an Ubuntu 20 machine with samba 4. > The test machine where I initially have all the code and from where I tested > this application initially > is a Linux Mint machine. > I enabled some logging in Django to see what happens when I log > i

django-ldap-auth authentication lasts several minutes on OpenBSD

2021-12-03 Thread Maksim Rodin
Hello I am not quite sure if the question belongs here but it seems to be related to the OS where the django-ldap-auth is used as a ldap client. I have a working django application which uses django-ldap-auth to authenticate active directory users to django. The AD DC machine is an Ubuntu 20

Re: ldap auth

2010-11-27 Thread Ted Unangst
ypldap exists precisely because we didn't want ldap in libc. Adding ldap support is a non goal. On Nov 27, 2010, at 7:51 AM, Kapetanakis Giannis wrote: > On 26/11/10 19:11, Joachim Schipper wrote: >> I don't think I understand what you mean - what do you want to improve >> relative to login_ldap

Re: ldap auth

2010-11-27 Thread Kapetanakis Giannis
On 27/11/10 15:20, Bret S. Lambert wrote: On Sat, Nov 27, 2010 at 02:51:02PM +0200, Kapetanakis Giannis wrote: Looking around getpwent(3) I think it might be possible to extent it's functionality to include ldap support as well. Furthermore ypldap's functions (aldap ...) could be used for this

Re: ldap auth

2010-11-27 Thread Ingo Schwarze
Hi, Kapetanakis Giannis wrote on Sat, Nov 27, 2010 at 02:51:02PM +0200: > Instead of ypldap I would prefer the system to directly contact the > ldap servers to get user info similar the way nss does, and not > using NIS as an extra layer for ldap. The merit of a daemon like ypldap(8) is that is

Re: ldap auth

2010-11-27 Thread Kapetanakis Giannis
On 26/11/10 19:11, Joachim Schipper wrote: I don't think I understand what you mean - what do you want to improve relative to login_ldap and ypldap? Joachim login_ldap is fine. The problem seems to be getting user info. Instead of ypldap I would prefer the system to direct con

Re: ldap auth

2010-11-26 Thread Joachim Schipper
On Wed, Nov 24, 2010 at 01:03:00AM +0200, Kapetanakis Giannis wrote: > I've recently tested login_ldap and ypldap on OpenBSD 4.8 as a test > case for an authpf gateway for ldap users. > > Apart from these solution and having in mind that PAM is not (and > probably never will be) an option, what wo

ldap auth

2010-11-23 Thread Kapetanakis Giannis
Hi, I've recently tested login_ldap and ypldap on OpenBSD 4.8 as a test case for an authpf gateway for ldap users. Apart from these solution and having in mind that PAM is not (and probably never will be) an option, what would you suggest as the right place for someone to try to develop ldap

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

2008-09-24 Thread Ricardo Augusto de Souza
of /usr/ports/infrastructure/mk/bsd.port.mk). # Almost there. thanks -Mensagem original- De: Giancarlo Razzolini [mailto:[EMAIL PROTECTED] Em nome de Giancarlo Razzolini Enviada em: terga-feira, 23 de setembro de 2008 14:34 Para: Ricardo Augusto de Souza Cc: misc@openbsd.org Assunto: Re:

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

2008-09-23 Thread Ricardo Augusto de Souza
: misc@openbsd.org Assunto: Re: Problems to compile squid with ldap auth on openBSD 4.3 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 err

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-ba

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

2008-09-23 Thread Ricardo Augusto de Souza
e/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/www/squid (line 1962 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/www/squid (line 1452 of /usr/ports/infrastructure/mk/bsd.port.mk). # -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

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&q

Problems to compile squid with ldap auth on openBSD 4.3

2008-09-23 Thread Ricardo Augusto de Souza
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

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

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 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 t

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 tim

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 /usr/ports/www

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 som