Closed lukas-staab closed 11 months ago
@lukas-staab Nope you're understanding the feature correctly @lukas-staab!
That's strange, as I have test cases surrounding this 🤔
Could you try dumping the value of $r->getCreatableDn()
after calling $r->inside($c)
and see what it's generating?
$c = Committee::findByOrFail('ou', $this->ou);
$r = new Group(['...']);
$r->inside($c);
dd($r->getCreatableDn());
Huh, strangely i cannot reproduce it anymore. Sorry for the wrong alarm. Closing for now...
Thanks for the reply!
No worries at all! Glad you're up and running!
Environment:
I am unsure if this is a bug, or if I just misunderstood the docs. Having:
I would expect the Role Group below the Committee DN, seems like it is not below, but the exact DN. Am I missing something? The doc was not clear here for me. https://ldaprecord.com/docs/core/v3/model-api/#inside
Let the DN of Committee be
ou=com1,dc=local,dc=net
i would expect that the Group would have the DNcn=group1,ou=com1,dc=local,dc=net
but instead i just got an errorldap_add(): Add: Already exists