New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ldap-shell-utils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldap-shell-utils

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= LDAP Shell utils

A little wrapper over ldapsearch command a piece for working with shell wrappers

== Installation

gem install ldap-shell-utils

== Examples

  • lsu --config myldapconfigfile.yml --audit --filter uid=testuser --attributes mail,givenName

  • lsu --config myldapconfigfile.yml --filter '(&(uid=testuser)(mail=*@example.com))'

  • How to write a simple shell wrapper that can be work with base64 dn for example

    Find the Distinguished Name for an UID

    __ldap_find_by_uid() {

    [ -s ${LDAP_CONFIG} ] && [ -n "${1}" ] && lsu --config ${LDAP_CONFIG} --filter "(uid=${1})" --attributes dn }

== To Do

  • Testing all this stuff
  • Improve flexibility... for example changing the ldap base with a simple command line option

== License

Copyright © 2007-2010 Javier Juarez, released under the MIT license.

FAQs

Package last updated on 11 Jun 2011

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc