edit auth ldap
This commit is contained in:
parent
2d1ffded3f
commit
8aba52799d
2 changed files with 14 additions and 4 deletions
13
ldap-conf.js
Normal file
13
ldap-conf.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
const fs = require('fs');
|
||||
let prompt = require('password-prompt')
|
||||
|
||||
async function main() {
|
||||
let user = await prompt("LDAP Bind User :");
|
||||
let password = await prompt("LDAP Bind Password :");
|
||||
fs.writeFileSync("ldap-conf.json", JSON.stringify({
|
||||
bindUser: user,
|
||||
bindPassword: password
|
||||
}))
|
||||
}
|
||||
|
||||
main()
|
|
@ -1,4 +1 @@
|
|||
{
|
||||
"bindUser": "bindUser",
|
||||
"bindPassword": "bindPassword"
|
||||
}
|
||||
{"bindUser":"bdemetzlist","bindPassword":"dfskgherikhgkljfdnfgf54gdf65gfd489df8ggf14d5sdf35k543p5m54f21g52f45JHGSDJjfghkgfgFhfghgFGh14g45"}
|
Loading…
Reference in a new issue