Ldap import user avatar #938

Closed
opened 2026-02-04 23:04:42 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @lucassmacedo on GitHub (Dec 4, 2018).

Import avatar users when login is from LDAP

Originally created by @lucassmacedo on GitHub (Dec 4, 2018). Import avatar users when login is from LDAP
OVERLORD added the 🛠️ Enhancement🚪 Authentication🏭 Back-End labels 2026-02-04 23:04:42 +03:00
Author
Owner

@lucassmacedo commented on GitHub (Apr 5, 2019):

any idea?

@lucassmacedo commented on GitHub (Apr 5, 2019): any idea?
Author
Owner

@ssddanbrown commented on GitHub (Apr 6, 2019):

Hi @lucassmacedo,
Thanks for your request.

any idea?

This is not currently supported. I've only used LDAP in the scenario of testing BookStack if I'm honest.
What would really help such an issue is if you could provide details on how avatars are provided by your LDAP system.

For Example:

  • What LDAP system do you use?
  • What attribute are avatars served on?
  • What is the format of the URL provided? Absolute or relative?
  • What file type are avatars provided in?
  • What size(s) are avatars provided in?
  • Are the answers above standard for your LDAP system?
@ssddanbrown commented on GitHub (Apr 6, 2019): Hi @lucassmacedo, Thanks for your request. > any idea? This is not currently supported. I've only used LDAP in the scenario of testing BookStack if I'm honest. What would really help such an issue is if you could provide details on how avatars are provided by your LDAP system. For Example: * What LDAP system do you use? * What attribute are avatars served on? * What is the format of the URL provided? Absolute or relative? * What file type are avatars provided in? * What size(s) are avatars provided in? * Are the answers above standard for your LDAP system?
Author
Owner

@lucassmacedo commented on GitHub (Apr 8, 2019):

What LDAP system do you use? Active Directory
What attribute are avatars served on? thumbnailphoto
What is the format of the URL provided? Absolute or relative? (base64_encoded)
What file type are avatars provided in? (base64_encoded)
What size(s) are avatars provided in? (200x200)
Are the answers above standard for your LDAP system? Yes

@lucassmacedo commented on GitHub (Apr 8, 2019): What LDAP system do you use? **Active Directory** What attribute are avatars served on? **thumbnailphoto** What is the format of the URL provided? Absolute or relative? **(base64_encoded)** What file type are avatars provided in? **(base64_encoded)** What size(s) are avatars provided in? **(200x200)** Are the answers above standard for your LDAP system? **Yes**
Author
Owner

@lucassmacedo commented on GitHub (Apr 8, 2019):

6853e2f277/src/Models/User.php (L579)

@lucassmacedo commented on GitHub (Apr 8, 2019): https://github.com/Adldap2/Adldap2/blob/6853e2f277013883e900f943c5c80edb72c87a86/src/Models/User.php#L579
Author
Owner

@ssddanbrown commented on GitHub (May 24, 2021):

LDAP user avatar import has now been merged as per #2320.
This will be part of the next feature release and, at the time of that release, the docs will be updated to detail usage of this option.

Thanks again @lucassmacedo for your request.

@ssddanbrown commented on GitHub (May 24, 2021): LDAP user avatar import has now been merged as per #2320. This will be part of the next feature release and, at the time of that release, the docs will be updated to detail usage of this option. Thanks again @lucassmacedo for your request.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#938