addictgo

command module
v0.0.0-...-6319dd1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

README

//The Nitty Gritty //Passing Secrets

//You can pass the AD details at runtime:

//addict --url ldaps://[address] --user [user]@[domain] --pass [pass]

//As environmental variables:

//export ADDICT_URL=ldaps://[address] //export ADDICT_USER=[user]@[domain] //export ADDICT_PASS=[pass]

//Or in ./config.json:

//git clone https://github.com/dthree/addict.git //cd addict //vim ./config.json

//{ //... //"user": "[user]@[domain]", //"pass": "[pass]", //"url": "ldaps://[address]" //}

//Authentication

//This service defaults to no authentication. I can't and won't try to guess your flavor.

//Addict uses express. The file ./middleware.js at the root of the directory exposes the app so you can add middleware hooks for auth logic. //LDAP vs LDAPS

//If you connect to Active Directory over plain LDAP, it will refuse certain write operations including adding a user and changing a password. To make things even better, Windows Server doesn't support LDAPS out of the box. You're going to have to set up the Domain Controller as a cert authority by installing the Active Directory Certificate Services Role.

//Here's a good tutorial on that.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL