Re: failed to add jpegPhoto attribute to sql backend

2024-05-13 Thread Quanah Gibson-Mount




--On Sunday, May 12, 2024 3:58 AM +0700 Muchammad Nur Hidayat 
 wrote:




Thank you for the clarification.
At the moment i have to add binary data manually in mysql. It's works
pretty well since I never perform any db config.

Hope it will be fixed in the latest update.


I will re-iterate that back-sql is entirely experimental, unmaintained, and 
it should not be used with a production environment.  It is also magnitudes 
slower than the native back-mdb backend, so if you're only using the mysql 
instance for LDAP, it would be much better to switch to the native, 
supported backend database.


Regards,
Quanah




Re: failed to add jpegPhoto attribute to sql backend

2024-05-08 Thread Quanah Gibson-Mount




--On Wednesday, May 8, 2024 9:52 AM +0700 Muchammad Nur Hidayat 
 wrote:








hi I'm having trouble adding the jpegPhoto attribute to sql, slapd is
sending the jpeg data to argv[2] as binary, not hex or base64. So it
can't be passed to the add_proc query in sql. is there an option or
configuration to set it to hex or base64.




As noted in the slapd-sql man page, that backend is entirely experimental 
and unsupported.  You use it at your own risk.


--Quanah


failed to add jpegPhoto attribute to sql backend

2024-05-08 Thread Muchammad Nur Hidayat
hi I'm having trouble adding the jpegPhoto attribute to sql, slapd is
sending the jpeg data to argv[2] as binary, not hex or base64. So it can't
be passed to the add_proc query in sql. is there an option or configuration
to set it to hex or base64.


failed to add jpegPhoto attribute to sql backend

2024-05-08 Thread Muchammad Nur Hidayat
hi I'm having trouble adding the jpegPhoto attribute to sql, slapd is
sending the jpeg data to argv[2] as binary, not hex or base64. So it can't
be passed to the add_proc query in sql. is there an option or configuration
to set it to hex or base64.