Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread EDBManager
Wed, Dec 26 2007 6:43 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

As part of my migration of my app I'm running the following code

  Execute('CREATE USER "TFR"  PASSWORD ''tfr''  DESCRIPTION ''TfR Conversion''');
  Execute('GRANT "Administrators"  TO "TFR"');
  Execute('CREATE USER "TfRLogon"  PASSWORD ''TfR Logon''  DESCRIPTION ''TfR Logon User''');
  Connected := False;
  LoginUser := 'TFR';
  LoginPassword := 'tfr';
  Connected := True;
  Execute('DROP USER "Administrator"');

When I create a session in EDBManager, setting the login to TFR I get an AV. If I comment out Execute('DROP USER "Administrator"'); its OK.

Roy Lambert
Thu, Dec 27 2007 5:16 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

I've now found


"and there is one pre-defined Administrator user that can be modified or deleted" in the users table definition.

It seems incorrect SmileyI can delete it (with nasty effects) and I can (thankfully) alter the password.

Roy Lambert
Thu, Dec 27 2007 4:04 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< As part of my migration of my app I'm running the following code

Execute('CREATE USER "TFR" PASSWORD ''tfr'' DESCRIPTION ''TfR
Conversion''');
Execute('GRANT "Administrators" TO "TFR"');
Execute('CREATE USER "TfRLogon" PASSWORD ''TfR Logon'' DESCRIPTION ''TfR
Logon User''');
Connected := False;
LoginUser := 'TFR';
LoginPassword := 'tfr';
Connected := True;
Execute('DROP USER "Administrator"');

When I create a session in EDBManager, setting the login to TFR I get an
AV. If I comment out Execute('DROP USER "Administrator"'); its OK. >>

This is fixed for 1.07 - there's still a stray reference in there to the
Administrator grantor of the Administrators role to TFR.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Dec 28 2007 5:31 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>This is fixed for 1.07 - there's still a stray reference in there to the
>Administrator grantor of the Administrators role to TFR.

Which is fixed, the reference in the manual saying I can, or the nasty side effect of doing so, or being allowed to?

Roy Lambert
Fri, Dec 28 2007 2:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Which is fixed, the reference in the manual saying I can, or the nasty
side effect of doing so, or being allowed to? >>

The AV is fixed.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image