thom_schu@gmx.de wrote:
the passwords are base64 coded and look like "userPassword:: e1NNRDV9R3VkVlJv............" when I decode them with "echo passwd | base64 -d", the base64 command returns with an error like "invalid base64 string" for all passwords (42 from 901) which the ldapadd-tool doesnt accept. I tried to put a "=" to the end of the base64 coded password and then it seems to work, at least for the one password I know from this set of not working passwords, and this password consists only of alpha-characters and a "-"
Glad you figured out the issue yourself.
can it be that slapcat or ldapsearch (I tried both) fetch some incomplete password-strings ?
I don't think so since it works for me in so many different setups. Being in your position I'd rather use a scripting language with a decent LDIF parser/writer module for the job.
Ciao, Michael.