Skip to content

ricardobf/junket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Junket

Open Source Web App Directory Manager

GitHub license GitHub issues GitHub stars

Junket is an open source web application for managing LDAP/Active Directory. This repository uses Node.js to deploy a web application.

This documentation is available on junket.site

Table of Contents

Requirements

  • Docker (Optional);
  • npm (Optional);
  • A running LDAP/AD server;
  • User with bind privilegies;

Installation

Install and run junket locally (Using Docker):

  1. Create env file according to your LDAP/AD server:
# vim env.list

with content (example):

LDAP_PORT=389
LDAP_SERVER=ldap://www.zflexldap.com
SUFFIX=dc=zflexsoftware,dc=com
READER_DN=cn=ro_admin,ou=sysadmins,dc=zflexsoftware,dc=com
READER_MAIL=ro_admin@zflexsoftware.com
READER_PWD=zflexpass
  1. Run docker run command:
# docker run --name junket -p 8080:8080 --env-file ./env.list -d ricardob/junket
  1. On your browser navigate to localhost:8080
  • The username for login in the example LDAP server is: guest3

  • Password: guest3password

  • If you want to access the admin page, you can login with the user: guest1

  • Password: guest1password

Install and run junket locally (Using npm):

  1. Clone Junket repository:
# git clone https://github.com/ricardobf/junket.git
  1. Navigate to junket package folder:
# cd junket/junket
  1. Create env file according to your LDAP/AD server:
# vim env.list

with content (example):

LDAP_PORT=389
LDAP_SERVER="ldap://www.zflexldap.com"
SUFFIX="dc=zflexsoftware,dc=com"
READER_DN="cn=ro_admin,ou=sysadmins,dc=zflexsoftware,dc=com"
READER_MAIL="ro_admin@zflexsoftware.com"
READER_PWD="zflexpass"
  1. Export env variables to local shell:
# export $(xargs < env.list)
  1. Run npm install command:
# npm install
  1. Run npm start command:
# npm start
  1. On your browser navigate to localhost:8080
  • The username for login in the example LDAP server is: guest3

  • Password: guest3password

  • If you want to access the admin page, you can login with the user: guest1

  • Password: guest1password

License

See LICENSE.