Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nikitajs/ldap

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nikitajs/ldap - npm Package Compare versions

Comparing version 0.9.5 to 0.9.7-alpha.0

19

lib/acl.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.4.1
// Generated by CoffeeScript 2.5.0
// # `nikita.ldap.acl`

@@ -240,5 +240,18 @@

if (old) {
cmd = `ldapadd -Y EXTERNAL -H ldapi:/// <<-EOF\ndn: olcDatabase=${options.hdb_dn}\nchangetype: modify\ndelete: olcAccess\nolcAccess: ${old}\n-\nadd: olcAccess\nolcAccess: ${olcAccess}\nEOF`;
cmd = `ldapadd -Y EXTERNAL -H ldapi:/// <<-EOF
dn: olcDatabase=${options.hdb_dn}
changetype: modify
delete: olcAccess
olcAccess: ${old}
-
add: olcAccess
olcAccess: ${olcAccess}
EOF`;
} else {
cmd = `ldapadd -Y EXTERNAL -H ldapi:/// <<-EOF\ndn: olcDatabase=${options.hdb_dn}\nchangetype: modify\nadd: olcAccess\nolcAccess: ${olcAccess}\nEOF`;
cmd = `ldapadd -Y EXTERNAL -H ldapi:/// <<-EOF
dn: olcDatabase=${options.hdb_dn}
changetype: modify
add: olcAccess
olcAccess: ${olcAccess}
EOF`;
}

@@ -245,0 +258,0 @@ return this.system.execute({

6

lib/add.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.4.1
// Generated by CoffeeScript 2.5.0
// # `nikita.ldap.add`

@@ -103,3 +103,5 @@

return this.system.execute({
cmd: `ldapadd -c ${binddn} ${passwd} ${uri} <<-EOF\n${ldif}\nEOF`,
cmd: `ldapadd -c ${binddn} ${passwd} ${uri} <<-EOF
${ldif}
EOF`,
code_skipped: 68

@@ -106,0 +108,0 @@ }, function(err, data) {

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.4.1
// Generated by CoffeeScript 2.5.0
// # `nikita.ldap.delete`

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.4.1
// Generated by CoffeeScript 2.5.0
// # `nikita.ldap.index`

@@ -122,10 +122,19 @@

v = add[k];
cmd.push(`add: olcDbIndex\nolcDbIndex: ${k} ${v}`);
cmd.push(`add: olcDbIndex
olcDbIndex: ${k} ${v}`);
}
for (k in modify) {
v = modify[k];
cmd.push(`delete: olcDbIndex\nolcDbIndex: ${k} ${v[1]}\n-\nadd: olcDbIndex\nolcDbIndex: ${k} ${v[0]}`);
cmd.push(`delete: olcDbIndex
olcDbIndex: ${k} ${v[1]}
-
add: olcDbIndex
olcDbIndex: ${k} ${v[0]}`);
}
return this.system.execute({
cmd: `ldapmodify -Y EXTERNAL -H ldapi:/// <<-EOF\ndn: olcDatabase=${options.hdb_dn}\nchangetype: modify\n${cmd.join('\n-\n')}\nEOF`
cmd: `ldapmodify -Y EXTERNAL -H ldapi:/// <<-EOF
dn: olcDatabase=${options.hdb_dn}
changetype: modify
${cmd.join('\n-\n')}
EOF`
});

@@ -132,0 +141,0 @@ });

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.4.1
// Generated by CoffeeScript 2.5.0
require('@nikitajs/core/lib/registry').register({

@@ -3,0 +3,0 @@ ldap: {

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.4.1
// Generated by CoffeeScript 2.5.0
// # `nikita.ldap.schema`

@@ -84,3 +84,3 @@

// shy: true
cmd: `ldapsearch -LLL ${binddn} ${passwd} ${uri} -b "cn=schema,cn=config" | grep -E cn=\\{[0-9]+\\}${options.name},cn=schema,cn=config`,
cmd: `ldapsearch -LLL ${binddn} ${passwd} ${uri} -b \"cn=schema,cn=config\" | grep -E cn=\\{[0-9]+\\}${options.name},cn=schema,cn=config`,
code: 1,

@@ -87,0 +87,0 @@ code_skipped: 0

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.4.1
// Generated by CoffeeScript 2.5.0
// # `nikita.ldap.user`

@@ -3,0 +3,0 @@

@@ -14,3 +14,3 @@ {

],
"version": "0.9.5",
"version": "0.9.7-alpha.0",
"author": "David Worms <david@adaltas.com>",

@@ -40,9 +40,9 @@ "bugs": {

"peerDependencies": {
"@nikitajs/core": "^0.9.4"
"@nikitajs/core": "^0.9.5"
},
"devDependencies": {
"coffeescript": "^2.4.1",
"mocha": "6.2.2",
"coffeescript": "^2.5.0",
"mocha": "7.0.0",
"should": "~13.2.3",
"ssh2-they": "^2.0.3"
"ssh2-they": "^2.0.4"
},

@@ -68,5 +68,5 @@ "engines": {

"pretest": "npm build",
"test": "mocha test/**/*.coffee"
"test": "mocha test/{*,*/*,*/*/*}.coffee"
},
"gitHead": "dda11606283a47da645739a9e3d9c924e304bfbf"
"gitHead": "2657094d67a0f9b56412b62c83b87d97f8f4a652"
}
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