Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| code:laravel:ldap [2020/04/14 20:24] – [Importing Users] gerardorourke | code:laravel:ldap [2020/04/26 10:46] (current) – [Removing the Password column] gerardorourke | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Laravel AD LDAP====== | ====== Laravel AD LDAP====== | ||
| - | Reference: https:// | + | Reference: |
| + | *https:// | ||
| + | *https:// | ||
| ===== My quick Start Guide ===== | ===== My quick Start Guide ===== | ||
| Line 97: | Line 99: | ||
| ==== Importing Users==== | ==== Importing Users==== | ||
| - | < | + | |
| + | *Use the **--delete** option to soft delete users who have been disabled | ||
| + | *Use the **--delete-missing** option to delete any users not found (because they have been deleted on the AD) - be careful if not found in filter - then all existing users could be soft deleted! (can restore if necessary using a simple SQL query). | ||
| + | *Use the **--restore** option to un-softdelete a user if they have been reenabled. | ||
| + | |||
| + | < | ||
| Sync any users who are **Enabled** | Sync any users who are **Enabled** | ||
| Line 188: | Line 195: | ||
| </ | </ | ||
| *If you are caching your configuration, | *If you are caching your configuration, | ||
| + | |||
| + | |||
| + | ===== Removing the Password column ===== | ||
| + | |||
| + | Using the option < | ||
| + | Reference: https:// | ||
| + | |||
| + | <code php> | ||
| + | ' | ||
| + | |||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | ], | ||
| + | ], | ||
| + | ], | ||
| + | ], | ||
| + | </ | ||