Г
Size: a a a
Г
Г
VL
Г
FF
Г
R
R
VL
R
AI
R
AI
mail будет массивомR
AI
ldapClient.search('uid=sveta,ou=people,dc=vodolaz095,dc=life', {
scope: 'base', // important
attributes: ['uid', 'dn', 'cn', 'mail']
}, function (error, res) {
if (error) {
throw error;
}
res.on('searchEntry', function (data) {
// console.log('Data found', data);
console.log('Data object', JSON.stringify(data.object, null, 2));
});
res.once('error', function (error){
throw error;
});
res.once('end', function () {
console.log('All passed');
process.exit(0);
});
});VL
R
R
VL