wisekaa03 / nestjs-ldap Goto Github PK
View Code? Open in Web Editor NEWNestJS library to access LDAP
License: MIT License
NestJS library to access LDAP
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)bcrypt
, @types/bcrypt
)cache-manager
, @types/cache-manager
)node
, @types/node
)jest
, ts-jest
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)ldapjs
, @types/ldapjs
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@nestjs/common
, @nestjs/testing
)package.json
@nestjs/common ^8.4.7
bcrypt ^5.0.1
cache-manager ^4.0.1
cache-manager-ioredis ^2.1.0
ldapjs ^2.3.3
rxjs ^7.5.5
@nestjs/config ^2.1.0
@nestjs/core ^8.4.7
@nestjs/testing ^8.4.7
@types/asn1 ^0.2.0
@types/bcrypt ^5.0.0
@types/cache-manager ^4.0.0
@types/cache-manager-ioredis ^2.0.2
@types/ldapjs ^2.2.2
@types/node ^18.0.0
@typescript-eslint/eslint-plugin ^5.29.0
@typescript-eslint/parser ^5.29.0
eslint ^8.18.0
eslint-config-prettier ^8.5.0
eslint-plugin-jest ^26.5.3
eslint-plugin-prettier ^4.0.0
jest ^28.1.1
jest-transform-stub ^2.0.0
prettier ^2.7.1
reflect-metadata ^0.1.13
rimraf ^3.0.2
ts-jest ^28.0.5
tsconfig-paths ^4.0.0
typescript ^4.7.4
redis-commands ^1
rimraf ^3
.nvmrc
node v16.14.2
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
Hey there! How u doing?
First of all, I'd like thanks you for that lib, great idea mate!
Unfortunately, I had this issue:
ber = this._modification?.toBer(ber);
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:1047:16)
at Module._compile (internal/modules/cjs/loader.js:1097:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (D:\Yan\Projetos\pep\dev\backend\node_modules\nestjs-ldap\dist\index.js:13:14)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
Thanks in advance!
This module has a hard dependency on nest-winston. It won't run unless you import nestjs winston in your app module. For those of us using different loggers that makes this module unusable without also installing nest-winston.
I suggest using the default nestjs logger instead. Anybody can replace the default logger with their own implementation.
Instead of using groupSearchBase, synchronizationGroups
uses only searchBase.
https://github.com/wisekaa03/nestjs-ldap/blob/master/lib/ldap.class.ts#L649
/**
* Synchronize groups
*
* @async
* @returns {Record<string, LdapResponseGroup[]>} Group in LDAP
* @throws {Error}
*/
public async synchronizationGroups({
loggerContext,
}: {
loggerContext?: LoggerContext;
}): Promise<Record<string, Error | LdapResponseGroup[]>> {
const options: Ldap.SearchOptions = {
filter: this.options.searchFilterAllGroups,
scope: this.options.groupSearchScope,
attributes: ldapADattributes,
timeLimit: this.options.timeLimit || 10,
sizeLimit: this.options.sizeLimit || 0,
paged: true,
};
if (this.options.groupSearchAttributes) {
options.attributes = this.options.groupSearchAttributes;
}
return this.search({
searchBase: this.options.searchBase,
options,
loggerContext,
})
Hello,
The usage of the library produces an error in the 'example.com' =>
line .
I use typescript Version 4.0.5.
Also the usage is only about how to declare it. Can you show some examples of methods usage. I cannot get the logger to work for instance.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.