Skip to content

Allow enabling LDAP paging for LDAP synchronization queries #3675

@wcarson

Description

@wcarson

Description

We have a fairly large LDAP with thousands of users that is configured to allow a max of 1000 results at a time. Without using LDAP paging we get an error like the following:

[...gitea/models/user.go:1388 SyncExternalUsers()] [E] LDAP Search failed unexpectedly! (LDAP Result Code 4 "Size Limit Exceeded": )

As far as I can tell (I'm not familiar with Go), search results paging is supported, so this is definitely doable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions