Re: [back-sql] possible?

2007-11-17 Thread Patai Sangbutsarakum
: Patai Sangbutsarakum wrote: What version of OpenLDAP are you using? AFAIK, only OpenLDAP 2.4 honors binary values. I run 2 identical openldap 2.3.38 servers on different vmware instance. The first machine uses bdb. I could insert the jpeg photo via gui of ldap browser. I dump

Openldap 2.4.6 with slapd.conf

2007-11-17 Thread Patai Sangbutsarakum
Dear lister, I just upgrade to 2.4.6 and also Berkeley db 4.6. I'm using the same slapd.conf that was used with 2.3.38. I have the problem in the sql backend. Slapd cannot start if slapd.conf has more than 1 sql backend at the same time. If I have 2 sql backend, from -d -1 will complain about

[back-sql] possible?

2007-11-15 Thread Patai Sangbutsarakum
Dear Openldaper, I've been trying to develop a tool to automate the migration process from ldap data in flat-file(bdb, gdbm) to back-sql (mysql). I could successfully do it if those data is text/string, but come to the binary; I'm kind of stuck for a while. Is that really possible to store the

Re: [back-sql] possible?

2007-11-15 Thread Patai Sangbutsarakum
, Gavin Henry [EMAIL PROTECTED] wrote: quote who=Patai Sangbutsarakum snip Hope this make sense Please Please suggest I suggest you try to explain to problem you are trying to solve here. Why do you need the sql backend to start with? It's usually the very last option to chose, where you

Re: [back-sql] possible?

2007-11-15 Thread Patai Sangbutsarakum
Masarati [EMAIL PROTECTED] wrote: Patai Sangbutsarakum wrote: But first of all, I'm looking for if the back-sql itself support storing binary data jpegPhoto, userCertificate .. in Mysql table and then retrieve those bin. data from mysql and represent it in LDAP tree or not? What version