update
This commit is contained in:
parent
b75dbf3e7f
commit
5732f77b93
|
@ -102,8 +102,8 @@ export class LdapService {
|
|||
@Bind(getRootDN())
|
||||
async bind(req, res, next) {
|
||||
const reqDN = parseDN(req.dn.toString().toLowerCase());
|
||||
console.debug('bind req', reqDN)
|
||||
console.log('bind PW: ' + req.credentials);
|
||||
// console.debug('bind req', reqDN)
|
||||
// console.log('bind PW: ' + req.credentials);
|
||||
if (parseDN(getRootDN().toLowerCase()).equals(reqDN.parent())) {
|
||||
// admins
|
||||
const username = reqDN['rdns'][0].attrs.cn.value;
|
||||
|
|
Loading…
Reference in New Issue