the olcserverids always contains some trailing (garbage) characters
after the
conversion, and are base64 encoded. when i set them manually in
cn=config with
ldapmodify, they are displayed "clean".

the serverid-lines in slapd.conf are "clean" (they contain no
whsp/tabs at the end
of the line or similar, invisible chars).
i have tested it without \"\ and without portnumber,
tested conversion with slaptest and slapd,
in virtual and real machines,
result is always the same.