I'd like to modify some entries in our LDAP. In the field gecos currently some users only have their user name which I would like to replace by their full name. In general this isn't a problem, but I guess doing this in plain text with names containing special characters like accents isn't a good idea, which is why I'd like to encode those as base64. Now I know how it should work in theory, but it only gives me an error. What I do:
ldapmodifyuser user changetype: modify replace: gecos gecos:: YmFzZTY0LVRleHQK
This only gives me a very cryptic
Error modifying user entry uid=username,ou=people,dc=domain,dc=de in LDAP. What am I doing wrong? It's successfull when modifying a user with plain text gecos, it only fails when trying to insert base64 with the double colon upfront neccessary to indicate non-printable text.