openresty / openresty/lua-nginx-module
Load lualdap module into openresty
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
Hi,
I just want to know wether or how to use lualdap in openresty. I tried to download lua-ldap module but when I required it, it displayed:
2018/02/21 09:49:41 [error] 27998#27998: *1 lua entry thread aborted: runtime error: /home/ubuntu/work/lua/test.lua:3: module 'lualdap' not found:
no field package.preload['lualdap']
no file '/usr/local/openresty/site/lualib/lualdap.ljbc'
no file '/usr/local/openresty/site/lualib/lualdap/init.ljbc'
no file '/usr/local/openresty/lualib/lualdap.ljbc'
no file '/usr/local/openresty/lualib/lualdap/init.ljbc'
no file '/usr/local/openresty/site/lualib/lualdap.lua'
no file '/usr/local/openresty/site/lualib/lualdap/init.lua'
no file '/usr/local/openresty/lualib/lualdap.lua'
no file '/usr/local/openresty/lualib/lualdap/init.lua'
no file './lualdap.lua'
no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/lualdap.lua'
no file '/usr/local/share/lua/5.1/lualdap.lua'
no file '/usr/local/share/lua/5.1/lualdap/init.lua'
no file '/usr/local/openresty/luajit/share/lua/5.1/lualdap.lua'
no file '/usr/local/openresty/luajit/share/lua/5.1/lualdap/init.lua'
no file '/usr/local/openresty/site/lualib/lualdap.so'
no file '/usr/local/openresty/lualib/lualdap.so'
no file './lualdap.so'
no file '/usr/local/lib/lua/5.1/lualdap.so'
no file '/usr/local/openresty/luajit/lib/lua/5.1/lualdap.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported require('lualdap') error and review the lua-nginx-module documentation for loading external Lua modules, especially native .so modules. Determine whether lualdap is supported in OpenResty and document the required installation or configuration steps, or clearly state the limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- backend
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100