Subject Re: [IBO] IB_SessionBase.AlterUser
Author Marius Popa
i had the same problems until i looked in the ibconsole to see
how they change the password of sysdba
then i did it with ibx services:
do this if you have them :
drop a IBSS: TIBSecurityService;
object IBSS: TIBSecurityService
ServerName = '192.168.0.107'
Protocol = TCP
Params.Strings = (
'user_name=SYSDBA'
'password=MASTERKEY')
LoginPrompt = False
TraceFlags = []
SecurityAction = ActionModifyUser
UserName = 'SYSDBA'
UserID = 0
GroupID = 0
Left = 86
Top = 65534
end
and then a button handler
with this
ibss.Params.Clear;
ibss.Params.Add('user_name=SYSDBA');
ibss.Params.Add('password=masterkey');
ibss.Attach;
ibss.Password := 'xxSomeNewPasswdxx';
ibss.ModifyUser;






At 14:50 26.02.2001 +0100, you wrote:
>When I try to add a user with the IB_SessionBase.AlterUser-Method I get
>the following error 'The password specified is too long. Maximum lenght
>is 8 bytes'. The password is 'masterkey' !!!!
>Any ideas ?