Subject | Re: Access to UDF library "id_udf.DLL" is denied by server administrator. |
---|---|
Author | Tom Frey |
Post date | 2003-11-10T17:06:45Z |
I tried both versions (relative and absolute paths) but both gave me
the same error. The files are in the default UDF directory.
I declared the UDF like this:
DECLARE EXTERNAL FUNCTION STRLEN
CSTRING(32767)
RETURNS INTEGER BY VALUE
ENTRY_POINT 'IB_UDF_strlen' MODULE_NAME 'id_udf'
I assume that's correct?
Any ideas what else it could be?
the same error. The files are in the default UDF directory.
I declared the UDF like this:
DECLARE EXTERNAL FUNCTION STRLEN
CSTRING(32767)
RETURNS INTEGER BY VALUE
ENTRY_POINT 'IB_UDF_strlen' MODULE_NAME 'id_udf'
I assume that's correct?
Any ideas what else it could be?
> >anyobody got an idea how to solve this?because
> >I tried UDFAccess = Restrict UDF and Full.
>
> The UDFAccess configuration has been left in a state of confusion
> of late changes regarding paths (someone in his wisdom thought itwould be
> nice to support relative path addressing. Now it seems broken for"normal"
> configuration.)Firebird
>
> For now, try according to the following assumptions:
>
> Restrict assumes the libs are in the /UDF subdirectory under the
> root. AFAICT here, if you stick with that - "the default" - itshould work.
>even *if*
> Full seems broken. It doesn't behave as documented. Try to explicitly
> configure the path in UDFAccess - using the *absolute* file path,
> your libs are in ../UDF. I've been led to believe this will workwith RC
> 7, though I don't have RC 7 installed here yet.restart
>
> >Stopped and restarted the server.
>
> Firebird.conf is read at server startup. You will need to stop and
> the server each time you change things.have it
>
> Of course...just looking at your Subject title: I suppose you *do*
> declared as "ib_udf", not "id_udf.dll" or some other typographicalerror.
>
> heLen