Skip to content

[Bug]: LDAP Sync Button Missing for Administrators #19603

Closed as not planned
Closed as not planned

Description

@PP-JN-RL

Snipe-IT Version

v8.7.2 build 24589

PHP Version

8.3.6

Composer Version

2.10.2

MySQL/MariaDB version

MySQL 9.7.2

How did you install Snipe-IT?

Docker

Is this a fresh install or an upgrade?

Upgrade

What happened?

It looks like in the latest version, the LDAP Sync button is no longer available for administrators.
It only appears for super admins. Is there a way to give administrators access to this without making them a super admin?

What browsers are you seeing the problem on?

Microsoft Edge

Can you reproduce this on the public demo?

N/A

Do you have full multiple company support enabled?

No

If you have full multiple company support enabled, do you have location scoping to company enabled?

I do not have full multiple company support enabled

Application log output

Browser console output

Common Issues

  • I have searched this repo for existing issues related to my issue (including closed issues)
  • My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
  • I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
  • I have run database migrations (where applicable).
  • I have attached screenshots and/or videos of the issue (where applicable)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added theissue type on Sep 1, 2026
  2. snipe commented on Sep 1, 2026

    @snipe
    Member

    That's not really a bug, it was a choice we made. LDAP syncs should really be run on a cron, as they can often time out on larger directories, and with FMCS+location scoping, it gets messy letting users who could be company or location-scoped touch things that cross companies/locations.

  3. PP-JN-RL commented on Sep 1, 2026

    @PP-JN-RL
    ContributorAuthor

    Ok, understood. With that in mind, could we have a least an option within Snipe to have the LDAP sync run on a fixed schedule?
    This would make it easier for container deployments without having to make up shell scripts to hook into the container to run it.

  4. snipe commented on Sep 1, 2026

    @snipe
    Member

    You own the container, so you always have that option.

    You'd want to set up a cron in the container that periodically runs php artisan snipeit:ldap-sync

    Snipe-IT Documentation
    Starting from Snipe-IT v3.0, all automated tasks are handled via the scheduler. To set a cron job to run every minute to ping the scheduler: * * * * * /path/to/php /path/to/artisan schedule:run >> /dev/null 2>&1 The scheduler already knows how often it should trigger the individual tasks, because of…
    Snipe-IT Documentation
    ❗️ Large LDAP Directories: In your .env file, you may need to modify the LDAP_MEM_LIM (expressed as '500M' for 500MB) and/or the LDAP_TIME_LIM (expressed in seconds) in order to avoid a large LDAP sync from timing out or exhausting all memory. The default time limit is 10 minutes. The default memory…
  5. locked and limited conversation to collaborators on Sep 1, 2026
  6. converted this issue into a discussion #19605 on Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions