如何在opends / ldap中删除'uid =,ou = people,dc = domain,dc = local'?

时间:2017-06-22 22:01:11

标签: ldap opends

偶然错误输入被添加到ldap:

...
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
...


imports: [
...
    ReactiveFormsModule,
 ...
  ],

搞砸了我们的ou =人.. 现在我们甚至无法删除该条目:

...
import { FormGroup, FormControl, FormArray, FormBuilder, Validators } from '@angular/forms';
...

export class NewEventComponent implements OnInit {

  eventForm: FormGroup;
...


  constructor(
...
    private formBuilder: FormBuilder,
...
  ) {
...
  }

ngOnInit() {
    this.eventForm = this.formBuilder.group({
...
      filters: this.formBuilder.array([
        this.initFilters()
      ])
    });

  }

initFilters() {
    return this.formBuilder.group({
      level: ['', Validators.required],
      occupation: ['']
    });
  }

  addFilters() {
    const control = <FormArray>this.eventForm.controls['filters'];
    control.push(this.initFilters());
  }

  removeFilters(i: number) {
    const control = <FormArray>this.eventForm.controls['filters'];
    control.removeAt(i);
  }

我们得到的错误是:

uid=,ou=people,dc=domain,dc=local

我试图逃避角色,特殊角色,但仍然没有骰子。

我们如何删除'ou = people,dc = domain,dc = local'??

这是可能还是我们必须重新安装opends / ldap?

由于

0 个答案:

没有答案