Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help getting email id after bind #27

Closed
madhan5000 opened this issue Nov 9, 2016 · 1 comment
Closed

Need help getting email id after bind #27

madhan5000 opened this issue Nov 9, 2016 · 1 comment

Comments

@madhan5000
Copy link

@etyp Thank you for this package. I am trying to use this with Telescope app. I am able to authenticate against our ldap server but I need help getting email id after authentication.

My app crashes with

SizeLimitExceededError: Size Limit Exceeded

when I enable this on the server

LDAP_DEFAULTS.searchResultsProfileMap = [ { resultKey: 'cn', profileProperty: 'displayName' } ,{ resultKey: 'mail', profileProperty: 'email' } ]

Client code
Meteor.loginWithLDAP(employeeId,password,{dn:employeeId+'@' +domain,search: '(objectclass=*)'},function(err,result){ if(err)console.log(err); });

Error

W20161109-13:17:11.771(-5)? (STDERR) W20161109-13:17:11.771(-5)? (STDERR) events.js:141 W20161109-13:17:11.772(-5)? (STDERR) throw er; // Unhandled 'error' event W20161109-13:17:11.772(-5)? (STDERR) ^ W20161109-13:17:11.773(-5)? (STDERR) SizeLimitExceededError: Size Limit Exceeded W20161109-13:17:11.773(-5)? (STDERR) at messageCallback (/Users/163106/.meteor/packages/typ_ldapjs/.0.7.3.6gl79l++os+web.browser+web.cordova/npm/node_modules/ldapjs/lib/client/client.js:867:40) W20161109-13:17:11.774(-5)? (STDERR) at Parser.onMessage (/Users/163106/.meteor/packages/typ_ldapjs/.0.7.3.6gl79l++os+web.browser+web.cordova/npm/node_modules/ldapjs/lib/client/client.js:199:12) W20161109-13:17:11.774(-5)? (STDERR) at emitOne (events.js:77:13) W20161109-13:17:11.774(-5)? (STDERR) at Parser.emit (events.js:169:7) W20161109-13:17:11.774(-5)? (STDERR) at Parser.write (/Users/163106/.meteor/packages/typ_ldapjs/.0.7.3.6gl79l++os+web.browser+web.cordova/npm/node_modules/ldapjs/lib/messages/parser.js:105:8) W20161109-13:17:11.774(-5)? (STDERR) at end (/Users/163106/.meteor/packages/typ_ldapjs/.0.7.3.6gl79l++os+web.browser+web.cordova/npm/node_modules/ldapjs/lib/messages/parser.js:71:19) W20161109-13:17:11.774(-5)? (STDERR) at Parser.write (/Users/163106/.meteor/packages/typ_ldapjs/.0.7.3.6gl79l++os+web.browser+web.cordova/npm/node_modules/ldapjs/lib/messages/parser.js:107:10) W20161109-13:17:11.775(-5)? (STDERR) at Socket.onData (/Users/163106/.meteor/packages/typ_ldapjs/.0.7.3.6gl79l++os+web.browser+web.cordova/npm/node_modules/ldapjs/lib/client/client.js:155:24) W20161109-13:17:11.775(-5)? (STDERR) at emitOne (events.js:77:13) W20161109-13:17:11.775(-5)? (STDERR) at Socket.emit (events.js:169:7)

@madhan5000
Copy link
Author

this is a duplicate of this issue #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant