Am Donnerstag 19 August 2010, 00:24:04 schrieb Rory Campbell-Lange: > Sorry to ask again, but I'm obviously being rather thick as I can't find > out how to match the base64 md5 string stored in postgres with the > normal output of the GNU md5sum programme.
Hello Roy, as much as I understand, the md5 implementation used in bacula is a bit different than other "standard" implementations. We had the same problem when we tried to authenticate against the bacula console. In the end, we used the md5 Implementation in the bacula library. best regards, Philipp Am Donnerstag 19 August 2010, 00:24:04 schrieb Rory Campbell-Lange: > On 16/08/10, Rory Campbell-Lange (r...@campbell-lange.net) wrote: > > I'm having trouble matching the Bacula MD5 with the MD5 of a file. > > > > I have the following catalog record for a file: > > path: /backup/archive/datasnap0/etc/ > > file: wgetrc > > md5 : 7rJlwjvesDfThOLanMuCog > > > > After restoring this file I have run md5, and I get: > > eeb265c23bdeb037d384e2da9ccb82a2 wgetrc > > > > After reading the docs I understand that the catalog record is a base64 > > encoding. However, running > > > > openssl dgst -md5 archive/datasnap0/etc/wgetrc | awk '{print $2}' | > > openssl enc -base64 > > > > returns ZWViMjY1YzIzYmRlYjAzN2QzODRlMmRhOWNjYjgyYTIK > > > > How can I match the catalog md5 record to the restored file's md5? > > Sorry to ask again, but I'm obviously being rather thick as I can't find > out how to match the base64 md5 string stored in postgres with the > normal output of the GNU md5sum programme. > > Assistance much appreciated. > > Rory -- Philipp Storz philipp.st...@dass-it.de dass IT GmbH Phone: +49.221.3565666-92 http://www.dass-IT.de/ Fax : +49.221.3565666-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500 GF: Stephan Dühr, Maik Außendorf, Jörg Steffens, Philipp Storz ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel