8000 Unable to modify a registry · Issue #112 · jeremycx/node-LDAP · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to modify a registry #112
Open
@jprivillaso

Description

@jprivillaso

I am trying to modify an item but it does nothing.
The only thing that I see it's different is that the dn of my user does not contain cn.
Instead, it looks like: uid=123,ou=People,dc=company,dc=org.

After authenticating, I'm using this piece of code:

this.client.modify('uid=123,ou=People,dc=company,dc=org', {
  op: 'add',
  attr: 'parent',
  vals: ['uid=38,ou=People,dc=ecorp,dc=org']
}, (searchError, data) => {
  if (searchError) {
    console.error('Error updating user');
    reject(searchError);
  }
  console.log('User updated successfully in LDAP');
  resolve(data);
});

After executing it, it does resolve the promise successfully, nonetheless it does not add the field that I specified

Do you have any idea of why it could be failing ?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0