Git Product home page Git Product logo

libvmod-ldap's People

Contributors

xcir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

f88

libvmod-ldap's Issues

Doe not compile on Ubuntu xenial against varnish-5.1.3 source

When I run:
./configure VARNISHSRC=/root/varnish-5.1.3 VMODDIR=/usr/lib/varnish/vmods

It fails with error:

checking for /root/varnish-5.1.3/include/varnishapi.h... no
configure: error: in `/root/libvmod-ldap':
configure: error: "/root/varnish-5.1.3" is not a Varnish source directory

although I've the source fetched via apt-get source varnish=5.1.3. Same result when I tried with the downloaded source tarball. Also tried to build the varnish source first but that didn't make any difference either.

Am I doing something wrong or the module is not compatible with varnish-5.1?

does this mod support windows AD

I'm having issue getting this mode to work with windows AD. For example, I have an user call ldap in the default Users OU. usera and userb are also in the same Users OU. does the following look right?

    if(!(req.http.Authorization && ldap.simple_auth(
                    true,
                    "CN=ldap,DC=company,DC=com,DC=au",
                    "ldappass",
                    "ldap://192.168.1.1/CN=Users,DC=company,DC=com,DC=au?uid?sub?(objectClass=*)",
                    ldap.get_basicuser(),
                    ldap.get_basicpass()
            ))){
                    error 401;
            }

this is the error msg I got

10 VCL_call c error deliver
10 VCL_call c deliver deliver
10 TxProtocol c HTTP/1.1
10 TxStatus c 401
10 TxResponse c Unauthorized
10 TxHeader c Server: Varnish
10 TxHeader c WWW-Authenticate: Basic realm="Authorization Required"
10 TxHeader c Content-Length: 22
10 TxHeader c Accept-Ranges: bytes
10 TxHeader c Date: Wed, 29 May 2013 03:51:26 GMT
10 TxHeader c X-Varnish: 688111833
10 TxHeader c Age: 0
10 TxHeader c Via: 1.1 varnish
10 TxHeader c Connection: close

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.