mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +02:00
Merge branch 'ldap_search_filter' of https://github.com/thasegaw/stf into thasegaw-ldap_search_filter
This commit is contained in:
@@ -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.'
|
||||
@@ -110,6 +115,7 @@ module.exports.handler = function(argv) {
|
||||
, scope: argv.ldapSearchScope
|
||||
, objectClass: argv.ldapSearchClass
|
||||
, field: argv.ldapSearchField
|
||||
, filter: argv.ldapSearchFilter
|
||||
}
|
||||
, username: {
|
||||
field: argv.ldapUsernameField
|
||||
|
||||
Reference in New Issue
Block a user