Hi,

On Dienstag 19 Juli 2011, Marc-Jano Knopp wrote:
[...]
> The command "chkacc" doesn't work:
> 
> ,----
> 
> | $ aqbanking-cli chkacc --rbank=37020500 --raccount=5151
> | 3:2011/07/19 21-19-09:aqbanking-cli(17433):chkacc.c:  142: Indifferent
> | result for remote account check
> | $ echo $?
> | 4
> | $
[...]

Well, here, it does work:

------------------------------------------X8
martin@gwenhywfar:/tmp$ aqbanking-cli chkacc --rbank=37020500 --raccount=5151
4:2011/07/19 21-51-20:aqbanking(25637):de.c:  116: Bank data for KtoBlzCheck 
not found (-51), falling back to default
martin@gwenhywfar:/tmp$ echo $?
0
------------------------------------------X8


[...]
> I guess it's because none of the bankinfo plugins are linked against
> libktoblz (package "libktoblzcheck1c2a"):
[...]

That could very well be. For me it is:

------------------------------------------X8

ldd /usr/lib/aqbanking/plugins/33/bankinfo/* | grep -i ktoblz
        libktoblzcheck.so.1 => /usr/lib/libktoblzcheck.so.1 (0x00007f890c289000)
------------------------------------------X8


[...]
> Bug #2
> ======
> 
> The transfer option "--force-check" should make the transfer fail if
> checking the bank code / account number combination fails:
[...]

Hmm, looking at the code, it should fail if the remote account can't be 
verified. Only a result of "Ok" should pass the test.

In fact, if ktoblzcheck finds an account number/bank code combination not to 
be valid the tool fails at any rate, even when "--force-check" is omitted...

Only if "indifferent" is returned (e.g. meaning that the validity could not be 
verified, e.g. because the remote bank is not yet known to ktoblzcheck) the 
check still passes in addition to the case where the combination actually is 
positively valid. That's because "indifferent" doesn't necessarily mean that 
the combination in fact *is* invalid...


Regards
Martin


-- 
"Things are only impossible until they're not"

Martin Preuss - http://www2.aquamaniac.de/
AqBanking - http://www.aqbanking.de/
LibChipcard - http://www.libchipcard.de/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to