support search filter

This commit is contained in:
Takashi Hasegawa
2017-06-14 12:51:31 +09:00
parent 0b071a1f5c
commit 9e8a8e4b97
2 changed files with 15 additions and 0 deletions

View File

@@ -44,6 +44,11 @@ module.exports.builder = function(yargs) {
, type: 'string'
, default: process.env.LDAP_SEARCH_SCOPE || 'sub'
})
.option('ldap-search-filter', {
describe: 'LDAP search filter.'
, type: 'string'
, default: process.env.LDAP_SEARCH_FILTER
})
.option('ldap-timeout', {
alias: 't'
, describe: 'LDAP timeout.'