Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow all agent sync from ldap to db #405

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Code cleanup
Fixes: 09559a0ee93a29cd20b1679047223a49cfad91f2
Author-Change-Id: IB#1110475
pboguslawski committed Apr 26, 2023

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
commit 0cc079eccddf03c7c17309e8aed635612bda2dca
4 changes: 2 additions & 2 deletions Kernel/System/Auth/Sync/LDAP.pm
Original file line number Diff line number Diff line change
@@ -954,7 +954,7 @@ sub SyncAll {
my $Cookie;
my $ProcessedLDAPEntries = 0;

PAGE:
PAGE:
while (1) {
$Result = $LDAP->search(
base => $Self->{BaseDN},
@@ -972,7 +972,7 @@ sub SyncAll {
}

# Process every UID in page.
ENTRY:
ENTRY:
while (my $Entry = $Result->pop_entry()) {

# Extract user UID.