Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
github.com/romnn/ldap-manager
LDAP Manager is the cloud-native LDAP web management interface. LDAP has been around for a long time and has become a popular choice for user and group management - however, this should not mean that it's management interface should be hard to deploy and look and feel like it was made in the last century.
LDAP Manager is written in Go and comes with a Vue/Typescript frontend in a single, self-contained docker container. It also exposes it's API over both REST and gRPC!
Before you get started, make sure you have an OpenLDAP server like osixia/openldap running. For more information on deployment and a full example, see the deployment guide.
go install github.com/romnn/ldap-manager/cmd/ldap-manager
ldap-manager serve --generate
go run github.com/romnn/ldap-manager/cmd/ldap-manager serve --generate --http-port 8090
You can also download pre-built binaries from the
releases page,
or use the docker
image:
docker run -p 8080:80 -p 9090:9090 romnn/ldap-manager --generate
For a list of options, run with --help
. If you want to deploy OpenLDAP with LDAP Manager, read along.
helm dependency update deployment/helm/charts/ldapmanager/
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f deployment/docker-compose.yml up
TODO
ldap-manager
container individually or use a more performant static content server like nginx
, you can disable serving static content using the --no-static
(NO_STATIC
) flag.Before you get started, make sure you have installed the following tools:
$ python3 -m pip install pre-commit bump2version invoke
$ go install github.com/kyoh86/richgo@latest
$ go install golang.org/x/tools/cmd/goimports@latest
$ go install golang.org/x/lint/golint@latest
$ go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
Please always make sure code checks pass:
inv pre-commit
If you want to (re-)compile the grpc service and gateway .proto
source files,
you will need
protoc
protoc-gen-go
protoc-gen-go-grpc
.protoc-gen-grpc-gateway
protoc-gen-openapiv2
apt install -y protobuf-compiler
brew install protobuf
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest
To compile the protos, you can use the provided script:
inv compile-proto
cd deployment/screenshot
yarn install --dev
yarn run screenshot
v2
refactor to use manual ldap search only where necessary
use an interface for the main functions of the manager in GRPC server
point out that the goal is user management only
documentation
nice to have
test the grpc and http servers as well
Implement CLI interface
done
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.