I am having the same issue.

Can not find a method to import a jpeg to the photo attribute.

file is like:

dn: cn=fseese,ou=People,ou=Users,o=willeke
changetype: modify
add: photo
photo:< file:///root/tmp/01690296.jpg

ldapmodify -h "iam-prodidm03" -D "cn=joe,ou=services,o=willeke" -w
nothere -f "/root/tmp/fseese.ldif"
modifying entry "cn=fseese,ou=People,ou=Users,o=willeke"
ldap_modify: Unknown error
additional info: NDS error: insufficient buffer (-649)

Any ideas?

Thank You for your help!

Jim Willeke