npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

lets-chat-kerberos

v0.4.1

Published

Kerberos add-on for Let's Chat

Downloads

6

Readme

Let's Chat - Kerberos Plugin

Add Kerberos authentication to Let's Chat.

Node 0.10.x required!

See ticket for more information

Installation

Prerequisites

Mac

Kerberos headers are shipped with Mac OS X.

Linux

You'll need to install the Kerberos 5 development headers package. It may be called krb5-dev or libkrb5-dev.

Windows

You'll need to install MIT Kerberos for Windows (with SDK option checked).

This module depends on node-krb5, so installation instructions for that module should be taken into account. On Windows you must set the environment variable MITKRB5 to the MIT Kerberos home.

set MITKRB5=C:\Program Files\MIT\Kerberos

Install

npm install lets-chat-ldap
npm install lets-chat-kerberos

Configure

YAML

Add (and customize) these settings to your settings.yml file:

auth:
  kerberos:
    realm: example.com
    use_ldap_authorization: false

    # if use_ldap_authorization == true
    ldap:
      connect_settings:
        url: ldap://example.com
        tlsOptions:
          ca: ca.pem
      bind_options:
        bindDN:
        bindCredentials:
      search:
        base:
        opts:
          scope: one
          filter: (uid={{username}})
      field_mappings:
        uid: uid # LDAP unique ID
        username: uid # used for mention (@uid)
        firstName: givenName
        lastName: sn
        displayName: givenName
        email: mail
Environment Variables

Alternatively, configure using environment variables:

| YAML Path | Env Variable | |-----------|--------------| | | LCB_AUTH_KERBEROS_REALM | | | LCB_AUTH_KERBEROS_USE_LDAP_AUTHORIZATION | | | LCB_AUTH_KERBEROS_LDAP_CONNECT_SETTINGS_URL | | | LCB_AUTH_KERBEROS_LDAP_CONNECT_SETTINGS_TLS_OPTIONS_CA | | | LCB_AUTH_KERBEROS_LDAP_BIND_OPTIONS_BIND_DN | | | LCB_AUTH_KERBEROS_LDAP_BIND_OPTIONS_BIND_CREDENTIALS | | | LCB_AUTH_KERBEROS_LDAP_SEARCH_BASE | | | LCB_AUTH_KERBEROS_LDAP_SEARCH_OPTS_SCOPE | | | LCB_AUTH_KERBEROS_LDAP_SEARCH_OPTS_FILTER | | | LCB_AUTH_KERBEROS_LDAP_FIELD_MAPPINGS_UID | | | LCB_AUTH_KERBEROS_LDAP_FIELD_MAPPINGS_USERNAME | | | LCB_AUTH_KERBEROS_LDAP_FIELD_MAPPINGS_FIRST_NAME | | | LCB_AUTH_KERBEROS_LDAP_FIELD_MAPPINGS_LAST_NAME | | | LCB_AUTH_KERBEROS_LDAP_FIELD_MAPPINGS_DISPLAY_NAME | | | LCB_AUTH_KERBEROS_LDAP_FIELD_MAPPINGS_EMAIL |