Results 1 to 7 of 7

Thread: LDAP Authentication for Web Access

  1. #1
    Join Date
    Aug 2011
    Beans
    1

    LDAP Authentication for Web Access

    LDAP Authentication for Web Access

    I am trying to build a LDAP server to allow access to the wireless network in conjunction with Meraki wireless access points. I am using Ubuntu 10.10 and trying to install OpenLDAP from their documentation but I keep running into the error "configure: error: MozNSS not found - please specify the location to the NSPR and NSS header files in CPPFLAGS and the location to the NSPR and NSS libraries in LDFLAGS (if not in the system location)" I have OpenSSL installed but I also got these when I ran ./configure

    checking openssl/ssl.h usability... no
    checking openssl/ssl.h presence... no
    checking for openssl/ssl.h... no
    checking gnutls/gnutls.h usability... no
    checking gnutls/gnutls.h presence... no
    checking for gnutls/gnutls.h... no
    checking nssutil.h usability... no
    checking nssutil.h presence... no
    checking for nssutil.h... no

    Any suggestions?

  2. #2
    Join Date
    Jul 2010
    Beans
    24

    Re: LDAP Authentication for Web Access

    It looks like is trying to use secure communication through SSL/TLS and you don't have it installed.

    Have you tried

    Code:
    apt-get install openssl
    As a starter?

  3. #3
    Join Date
    Nov 2011
    Beans
    1

    Re: LDAP Authentication for Web Access

    have you tried ./configure --with-tls=openssl ?

  4. #4
    Join Date
    Mar 2012
    Beans
    1

    Re: LDAP Authentication for Web Access

    Hi there !

    I have the same problem (same error message while using ./configure) and tried what you proposed ( --with-tls=openssl ), since I already have openssl installed.
    But this is what I got :

    Code:
    configure error could not locate tls ssl package openldap
    Any idea ?
    I'll continue searching on the web meanwhile.

    Thank you in advance !


    @venkman1080 : did you manage to solve your problem ? And if yes, how ?

  5. #5
    Join Date
    May 2010
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: LDAP Authentication for Web Access

    Yannou.
    Looks like you may have typed 'openldap' instead of "openssl" on the end of the command line, and its error shows that.

    FWIW, though, I just tried this with openssl, and got an error similar to the MozNSS one - headers/libs not found.

  6. #6
    Join Date
    May 2010
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: LDAP Authentication for Web Access

    what just now worked for me was this line:

    env CPPFLAGS=-I/usr/include/nss\ -I/usr/include/nspr LDFLAGS=-L/usr/lib/x86_64-linux-gnu/nss ./configure --with-tls

  7. #7
    Join Date
    May 2012
    Beans
    10

    Re: LDAP Authentication for Web Access

    Hello!

    The "-dev" packages contains headers to compile with these libs.

    -To compile with "--with-tls=openssl"
    Code:
    apt-cache search openssl | grep dev
    apt-get install libssl-dev
    -To compile with "--with-cyrus-sasl"
    Code:
    apt-cache search sasl | grep dev
    apt-get install libsasl2-dev
    And, openldap compilation:
    Code:
    ./configure --with-cyrus-sasl --with-tls=openssl
    Also you need
    Code:
    apt-cache search gnutls | grep dev
    apt-get install libgnutls-dev
    And i think also
    Code:
    apt-cache search libnss
    apt-get install libnss3-dev
    This method avoid to compile openssl, cyrus-sasl, gnutls and libnss and to maintain them easily.

    Have a good day.
    Last edited by paco699; February 7th, 2013 at 07:44 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •