Skip to content

Commit

Permalink
feat(windowsadinvreceiver): Adding the windowsadinvreceiver to the co…
Browse files Browse the repository at this point in the history
…llector
  • Loading branch information
rnishtala-sumo committed Oct 4, 2023
1 parent 0cd68da commit 49a6655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/receiver/activedirectoryinvreceiver/adinvreceiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (r *ADReceiver) Start(ctx context.Context, host component.Host) error {
fqdn := strings.Split(r.config.DC, ".")
domain, hld := fqdn[0], fqdn[1]

err = l.Bind(fmt.Sprintf("cn=%s,ou=%s,dc=%s, dc=%s", r.config.CN, r.config.OU, domain, hld), r.config.Password)
err = l.Bind(fmt.Sprintf("cn=%s,ou=%s,dc=%s,dc=%s", r.config.CN, r.config.OU, domain, hld), r.config.Password)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 49a6655

Please sign in to comment.