Subject | Problems with isc_service_query and isc_info_svc_get_users |
---|---|
Author | Svend Meyland Nicolaisen |
Post date | 2007-12-26T22:06:53Z |
Hi,
I have problems with isc_service_query and isc_info_svc_get_users. When I
try to get a list of all users in the security database using the services
API, isc_service_query doesn't return isc_info_truncated when I supply it
with a buffer that is too small. Instead the last user that can fit in the
buffer is truncated.
Wouldn't the correct behaviour be to return isc_info_truncated to indicate
that a bigger buffer is needed.
The problem seems to be in gsec too. If I try to create 100 users, "gsec
display" only shows the first 32. User number 33 is truncated and gsec
terminates unexpectedly.
A solution if course to specify a buffer that is large enough for a
reasonable number of users, but it seems like a bug to me.
I can supply my security database, with which I have testet, if it would be
helpfull.
I am using FireBird SS for Windows version 2.0.3.12981.
/Svend
I have problems with isc_service_query and isc_info_svc_get_users. When I
try to get a list of all users in the security database using the services
API, isc_service_query doesn't return isc_info_truncated when I supply it
with a buffer that is too small. Instead the last user that can fit in the
buffer is truncated.
Wouldn't the correct behaviour be to return isc_info_truncated to indicate
that a bigger buffer is needed.
The problem seems to be in gsec too. If I try to create 100 users, "gsec
display" only shows the first 32. User number 33 is truncated and gsec
terminates unexpectedly.
A solution if course to specify a buffer that is large enough for a
reasonable number of users, but it seems like a bug to me.
I can supply my security database, with which I have testet, if it would be
helpfull.
I am using FireBird SS for Windows version 2.0.3.12981.
/Svend