Subject Re: [firebird-support] Service Manager SPB (Parameter Buffer)
Author Danie Van Eeden
Hi thanks. I noticed that.. Will check it out, but figured I'd still post
the question as the next step after attaching to the service manager is to
start some action - and I get the same issue there. So if there is
something in general Im doing wrong - id like to find out :-) but yes, I
will check the password .

thx

On Thu, Jul 19, 2012 at 9:56 AM, Koenraad Lelong <
firebird01@...> wrote:

> **
>
>
> On 18-07-12 20:56, dve83 wrote:
> > Hi, busy connecting to the service manager via the API.
> > According to Interbase 6 API Guide I need to prep the SPB with the
> following
> >
> > isc_spb_version1
> > isc_spb_current_version
> > isc_spb_user_name
> > Length(6) of Username
> > username
> > isc_spb_password
> > Length(9) of password
> > password
> >
> > my result in AnsiString looks likes this
> > #1#2#$1C#6'SYSDBA'#$1D#9'masterkey'
> >
> > SPBLength = 21
> >
> > this seems correct according to the spec in the API, however I keep
> > getting the following Interbase message
> >
> > ' Invalid clumplet buffer structure: buffer end before end of clumplet -
> > clumplet too long'
> >
> > To me this means that either section 'username' or 'password' is beyond
> > the length of the buffer.
> > HOWEVER, if I remove the isc_spc_current_version and decrease SPBLength
> > by 1, all is good and the connection to Service Manager is made. What am
> > I missing?
> >
>
> Hi,
>
> I don't know if it's anything to do with your problem, but AFAIK,
> Firebird passwords are max. 8 characters long.
>
> Regards,
>
> Koenraad Lelong
>
>
>


[Non-text portions of this message have been removed]