Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Error to move user to other OU #809

Open
izabaleta-cnmc opened this issue Jun 23, 2022 · 0 comments
Open

Error to move user to other OU #809

izabaleta-cnmc opened this issue Jun 23, 2022 · 0 comments

Comments

@izabaleta-cnmc
Copy link

  • Adldap2 Version: 6.0.8 (adldap2/adldap2-laravel)
  • LDAP Type: Active Directory
  • PHP Version: 8.1
  • Laravel: 9.0

Description:

Hi everyone,

I have an issue when trying to move a user to another OU

Steps To Reproduce:

` $userDA = Adldap::search()
->users()
->select('*')
->findBy('samaccountname', $this->usuarioDA);

if($userDA->move('OU=d,OU=test,DC=c,DC=age',true)){
Log::info('OK');
}else{
Log::info('Error');
}`

It always returns "Error". If I create the user directly in this OU there is no problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant