snipe
d60c9800c2
Check that the id key exists to prevent any weird edge cases for location
2018-03-05 22:44:05 -08:00
snipe
04d2542b81
Fixed #5078 - check for object or array as location in LDAP sync
2018-03-05 22:42:40 -08:00
snipe
5484b06df8
Fixed #4923 - invalid check for location object in Ldap Sync
2018-02-13 17:06:42 -08:00
Richard Hofman
5219fb63a1
Add --base_dn option to LdapSync command. ( #4888 )
2018-01-23 18:15:36 -08:00
Ryan
9a40e5e651
return an error from ldap_search ( #4623 )
...
This will return the error from the ldap_search ran in Models/Ldap.php instead of throwing an exception. Users seem to commonly be getting an Exception because of invalid search filters. This will better inform them of that issue without requiring them to enable DEBUG.
2017-12-14 12:57:43 -08:00
snipe
1d5fb52bfc
Fix for LDAP where location ou is not null but blank
2017-10-17 16:59:50 -07:00
Richard Hofman
adca7cb0c5
Fix LDAP location sync issue in #3993 ( #4181 )
...
* Ensure locations with the most specific OUs take precedence during user assignment.
* Save 'ldap_ou' Location attribute during creation.
2017-10-09 13:06:47 -07:00
Richard Hofman
f2be409914
LDAP sync improvements and DB query fix. ( #4148 )
...
* Set 'ldap_ou' Location field to NULL when an empty string is submitted.
* Consolidate LDAP user import logic in LdapSync.php.
2017-10-06 16:15:14 -07:00
Jan Felix Wiebe
5cc84ca137
Use correct array when deleting users with location ( #3769 )
2017-07-24 23:15:15 -07:00
Wyatt
3e67cdc501
Allows a null location value for importing LDAP users ( #3598 )
...
* Allows a null location value for importing LDAP users
* Forgot you need to set the variable to null..
2017-06-01 21:20:40 -07:00
Richard Hofman
c506f30562
Add support for location-specific LDAP OUs. ( #3176 )
...
* Add support for location-specific LDAP OUs.
* Shortened variable names as suggested by Codacy review.
2017-01-11 23:37:14 -08:00
snipe
51ceaedfaf
Small phpcbf cleanup
2016-12-29 14:02:18 -08:00
snipe
a182d8c924
Fixes #1348 - LDAP sync in artisan command
...
TODO:
Make the LDAP sync page work using this command to avoid code duplication
2016-10-31 20:59:46 -07:00