Andreas Putzo a scris: > tags 532145 + fixed-upstream pending > thanks > > Hi, > > On Jun 07 04:08, Eddy Petrișor wrote: >> Package: osmqpgsql >> I just looked into the code and it seems that whenever the user >> parameter was given, the password prompt appeared, evn if not necessary. > > Thanks for your bug report and the patch. The bug is already fixed > upstream the same way as you did. Please expect an updated packages soon.
Are you planning to do "official" backports, too? I made my own patched package, but maybe other people would find them useful. >> (D)Patch is attached, I tested it on my password-less config on a lenny >> machine (made a local backport) and it works properly. If used without a >> password when is actually needed this message appears, (which, imo, >> could be improved to add a hint, if -W wasn't present - "maybe a >> password is required?"), so I'd say the fix makes sense and doesn't >> break anything that worked before: >> >> >> 0 e...@heidi ~/usr/src/osm/planet/git-planet-rom $ osm2pgsql -d gis -m >> -U osm planet-rom.osm >> osm2pgsql SVN version 0.52-20090607 $Rev: 7141 $ >> >> Connection to database failed: FATAL: Ident authentication failed for >> user "osm" > > The error message comes from postgres, i guess that's nothing osm2pgsql > should deal with :) Well, is, imo, sufficient to indicate the possible cause of the login issue. Better handling is preferable, but I don't this is crucial to improve this, especially if it complicates the code a lot (I haven't looked). -- Regards, EddyP ============================================= "Imagination is more important than knowledge" A.Einstein
signature.asc
Description: OpenPGP digital signature