Mailing List Archive

First authentication and LDAP, users inactive by default
Hi all,

I have a DAViCal 0.9.9.4 server configured to use LDAP authentication,
which works flawlessly, but I have an annoying issue with users which
log-in for the first time.

After logging in, user gets a "Please log in for access to this
system.". If he/she tries again, everything is ok.

After some debugging I found out that users get created by default
with no 'active' value, so first login is always invalid.

Is there any reason to do this that way? I have added the 'active'
attribute in drivers_ldap.php and everything works as expected. Could
this be a bug?

Regards.

--
Jorge L?pez P?rez
http://adobo.org
xmpp:jorge at im.jepsi.org
First authentication and LDAP, users inactive by default [ In reply to ]
On Wed, 2011-05-11 at 00:47 +0200, Jorge L?pez P?rez wrote:
> Hi all,
>
> I have a DAViCal 0.9.9.4 server configured to use LDAP authentication,
> which works flawlessly, but I have an annoying issue with users which
> log-in for the first time.
>
> After logging in, user gets a "Please log in for access to this
> system.". If he/she tries again, everything is ok.
>
> After some debugging I found out that users get created by default
> with no 'active' value, so first login is always invalid.
>
> Is there any reason to do this that way? I have added the 'active'
> attribute in drivers_ldap.php and everything works as expected. Could
> this be a bug?

Yes, sounds like a bug to me. Can you send me your fix?

Thanks,
Andrew.
--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Powering the .NZ namespace with Open Source Software
------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.davical.org/pipermail/davical-dev/attachments/20110513/93047e0d/attachment.pgp>
First authentication and LDAP, users inactive by default [ In reply to ]
Hi,

El 13/05/11 01:33, Andrew McMillan escribi?:

> Yes, sounds like a bug to me. Can you send me your fix?

I have just seen that the relevant code has changed in git. I'll do
some tests to check if this issue is still there.

Regards.

--
Jorge L?pez P?rez
http://adobo.org
xmpp:jorge at im.jepsi.org