|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am using the same old calling conventions used under gds32.dll for isc_add_user, isc_delete_user, and isc_modify user. None of the calls I make are working, and I don't know what to make of the returned status codes since I can't find a reference table with that data.
Can someone please lead me in the right direction? I am using Firebird 1.5.2.4731. Sample code attached.procedure ChangePassword; var userData: TUserSecData; status: array[0..19] of ISC_STATUS; begin userData.user_name := 'user1'; userData.password := 'welcome1'; //new password userData.server := 'MYSERVER:C:\TestDB.GDB' userData.protocol := sec_protocol_tcpip; userData.dba_user_name := 'sysdba'; userData.dba_password := 'masterkey'; userData.sec_flags := sec_server_spec or sec_password_spec or sec_dba_user_name_spec or sec_dba_password_spec; isc_modify_user(@status, @userData); end; Last edited by concentricsoft : February 24th, 2005 at 02:28 PM. Reason: Add info |
|
#2
|
|||
|
|||
|
Nevermind
I am officially a complete and utter ideot. The server name needs only be the hostname of the machine the database is on. I will now go bang my head on the wall.
![]() |
|
#3
|
|||
|
|||
|
Quote:
LOL )-- Best regards, Fikret Hasovic http://fikret.fbtalk.net USAID TAMP Senior Programmer FirebirdSQL Foundation member. - Join today at http://www.firebirdsql.org/ff/foundation JEDI VCS contributor http://jedivcs.sourceforge.net/ |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > fbclient.dll and API calls |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|