diff --git a/bin/ejabberd-auth.js b/bin/ejabberd-auth.js index 4c0a6e0..dd8b5d4 100755 --- a/bin/ejabberd-auth.js +++ b/bin/ejabberd-auth.js @@ -12,7 +12,8 @@ var assert = require('assert'), method: 'ldap', ldap: { uri: 'ldap://127.0.0.1', - filter: '(objectClass=*)' + filter: '(userPassword=*)', + uuidAttr: 'uuid' } } }),