Adldap2
Adldap2 copied to clipboard
Issue renaming CN
- 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:
- 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.
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.