Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
uci-ldap-search
Advanced tools
Readme
A search tool based on ldapjs which adds UCI's LDAP base and allows non-credentialed search to the extent allowable by OIT. UCI OIT LDAP information located here.
It's very simple so far and has very little concept of searches, but it is a minor step to make ldap more accessible to those who just need to search quickly for basic information like campus_id, name, email, phone number, etc. only things which one can already get from the directory and campus_id.
$ npm install --save uci-ldap-search
It only has two functions presently, searchBy
which takes a raw filter, and searchByNetID
with takes a UCINetID.
var Ldap = require('uci-ldap-search');
Ldap.searchByNetID('rhett', function (err, data) {
if (err) {
throw err;
}
console.log(data); // object of ldap data
});
// Use like searching.
var useLike = true;
Ldap.searchByNetID('hett', useLike, function (err, data) {
if (err) {
throw err;
}
console.log(data); // array of objects of ldap data
});
Ldap.searchBy('(&(cn=Rhett *)(uid=rhett))', function (err, data) {
if (err) {
throw err;
}
console.log(data); // object of ldap data
});
searchByNetID
See LICENSE for full info.
By all means, if you know LDAP better than me (which is just about everyone), jump right in with a fork and a pull request!
FAQs
Node.js LDAP search tool tailered for simple UCI directory searching
The npm package uci-ldap-search receives a total of 13 weekly downloads. As such, uci-ldap-search popularity was classified as not popular.
We found that uci-ldap-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.