Can I import by department or by Users OU? #430
Unanswered
kirkfranklin-alameda
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run php artisan ldap:import users I get all 1200 LDAP accounts in our Active Directory.
Each department is its own OU, and each department also contains a Users OU.
How can I import people by department, or (preferably) import only records in the Users OU?
Tried without success:
php artisan ldap:import users --filter "(objectclass=person)"
php artisan ldap:import users --filter "(objectClass=organizationalPerson)"
php artisan ldap:import users --filter "(ou=City Clerk)"
This works:
php artisan ldap:import users --filter "(cn=Ashley Zieba)"
Beta Was this translation helpful? Give feedback.
All reactions