Adldap2 icon indicating copy to clipboard operation
Adldap2 copied to clipboard

Issue renaming CN

Open bkarle opened this issue 6 years ago • 1 comments

  • Adldap2 Version: 10.0.11

Description: The model->rename() function appears to work but the syncRaw() in that rename function on line 1120 throws an error.

Steps To Reproduce:

  1. Rename an Active Directory user via model->rename()

Looking at the code in the rename() function, I've believe I have located the issue: $newParentDn is null by default, so if not provided, the code $this->setDn("{$rdn},{$newParentDn}"); on line 1119 would result in setting an invalid DN.

bkarle avatar Jul 05 '19 19:07 bkarle

I think I have something for you. https://github.com/Adldap2/Adldap2/pull/723

I had the same problem but I guess you solved it doing something similar.

flartet avatar Nov 06 '19 10:11 flartet