Fix search attributes

This commit is contained in:
James Sumners 2023-02-21 13:57:48 -05:00
parent 9038aeb73e
commit 0a3702e1d0
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
"@ldapjs/controls": "2.0.0-rc.1",
"@ldapjs/dn": "1.0.0-rc.1",
"@ldapjs/filter": "2.0.0-rc.5",
"@ldapjs/messages": "1.0.0-rc.2",
"@ldapjs/messages": "1.0.0-rc.3",
"@ldapjs/protocol": "^1.0.0",
"abstract-logging": "^2.0.0",
"assert-plus": "^1.0.0",

View File

@ -1253,7 +1253,7 @@ tap.test('GH-21 binary attributes', function (t) {
tap.test('GH-23 case insensitive attribute filtering', function (t) {
const opts = {
filter: '(objectclass=*)',
attributes: ['@Cn']
attributes: ['Cn']
}
t.context.client.search('cn=test, ' + SUFFIX, opts, function (err, res) {
t.error(err)

View File

@ -118,7 +118,7 @@ tap.test('GH-49 Client errors on bad attributes', function (t) {
const searchOpts = {
filter: 'cn=*ogo*',
scope: 'one',
attributes: '@dn'
attributes: 'dn'
}
return search(t, searchOpts)
})