maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #05879
Pluggable authentication, custom error messages
Hi Serg,
is there any possibility to return own error messages and codes , if
pluggable authentication failed on client on some reason ?
Case in point here is Kerberos (GSSAPI or SSPI) - it may fail on client or
on server, with some GSSAPI/SSPI specific code. We would like user to know
what exactly happened , rather than return a generic CR_ERROR. Perhaps user
can fix the situation - maybe he just needs to obtain Kerberos ticket with
kinit, or login as Windows domain user, or something like that. If error
happens on the server side, at least there it is possible to write to error
log. But on the client side, there is no error log, and writing to
stdout/err is not a good idea. Is there a trick that allows custom messages
on the client?
Wlad
Follow ups