[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#670549: ITP: lua-ldap -- LDAP library for the Lua language



Hi there!

On Tue, 01 May 2012 11:08:58 +0200, Luca Capello wrote:
> The package is ready (the same lintian warning as lua-zip), but the
> included test does not seem to work:
>
>   <http://people.debian.org/~gismo/tmp/prosody/>
>
> =====
> $ lua test.lua LDAP_SERVER LDAP_BASE
> basic checking ..........................
> Warning!  Couldn't connect with TLS.  Trying again without it.................. OK !
> lua: attempt to concatenate a nil value
> stack traceback:
>         [C]: in function 'f'
>         test.lua:134: in function 'check_future'
>         test.lua:147: in function '?'
>         test.lua:396: in main chunk
>         [C]: ?
> checking compare operation ....$
> =====
>
> Instead of debugging the above (I do not know if this is because my LDAP
> server does not support TLS), I am now trying it with Prosody to be sure
> everything is fine (at which point I will go on with the upload).

The above output actually means that LuaLDAP works (see the 'OK' at the
end).  Another confirmation came from the first for loop in the upstream
example:

  <http://www.keplerproject.org/lualdap/manual.html#examples>

--8<---------------cut here---------------start------------->8---
ld = assert (lualdap.open_simple ("db.debian.org", "", ""))

for dn, attribs in ld:search { base = "dc=debian,dc=org", scope = "subtree" } do
--8<---------------cut here---------------end--------------->8---

I will upload it in the following days :-)
 
Thx, bye,
Gismo / Luca

Attachment: pgpdtWP0NomNx.pgp
Description: PGP signature


Reply to: