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

Add a new --filter option to Artisan ldap-sync command #11408

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

uberbrady
Copy link
Collaborator

This follows along with the BaseDN option in our snipeit:ldap-sync artisan command to also add a Filter option as well.

Similarl to the BaseDN option, it will skip the per-OU LDAP sync if it is specified. The parameter just becomes an optional argument when the LDAP sync is performed; overriding the default LDAP filter that's used in other LDAP sync commands.

This solves at least one problem that one customer of ours has had recently, and will probably help out a few more. It also doesn't make too many huge changes in our code, so it seems relatively safe?

@uberbrady uberbrady requested a review from snipe as a code owner June 28, 2022 02:52
@snipe snipe merged commit d8d12d4 into snipe:develop Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants