From: Chris K. <ch...@ai...> - 2002-04-15 11:17:11
|
Howdy, For those that don't know, I'm trying to get multiple instances of Firebird running under Win32. The reason is to have each instance of Firebird use a different isc4.gdb. The problem I'm running into at the moment is that isc4.gdb is referenced in the following files directly via USER_INFO_NAME: jrd/pwd.c jrd/pwd.h remote/inet_server.c utilities/ibmgr.h utilities/security.e utilities/srvrmgr.c and the following files reference USER_INFO_NAME via PWD_get_user_dbpath: jrd/pwd.c jrd/svc.c /utilities/gsec.c I've got ibserver.exe starting with a -e parameter that gives me an engine instance id. My plan is to use the instance ID to allow listening on different ports (3049 + engine_id) and to access different isc4.gdbs (%INTERBASE%\engine_id\isc4.gdb). The port listening works OK. Now, I only need to conditionalise the compile for the ibserver.exe case, as it's the only bit that knows about the engine_id. Which files MUST I modify? I don't want to unnecessarily change files, and security.e has me unsettled. Thanks in advance for any help. Regards, Chris Knight Systems Administrator AIMS Independent Computer Professionals Tel: +61 3 6334 6664 Fax: +61 3 6331 7032 Mob: +61 419 528 795 Web: http://www.aims.com.au |