Subject | GRANT Privileges |
---|---|
Author | Lee Nash |
Post date | 2018-07-31T14:18:03Z |
Hi,
I’m struggling to grant any privileges on a .fdb file database.
I have created a separate user as the SYSDBA reported “Your login SYSDBA is same as one of the SQL role name. Ask your database administrator to set up a valid Firebird Login”.
When I use ISQL to run a select statement on the database in question I get the response:
“Statement failed, SQLSTATE = 28000
No permission for read/select access to TABLE ZIEKTE”
Then I try to GRANT SELECT on TABLE ZIEKTE to USER DW_EXTRACT” however I get the response:
“Statement failed, SQLSTATE = 28000
Unsuccessful metadata update
-no S privilege with grant option on table/view ZIEKTE”
I’ve tried numerous tables but I get the same response.
I have tested the user on the Example database “EMPLOYEE” and have no problems accessing any table on that.
Can you possibly help me or point me in the right direction?
Thanks
Lee
[cid:image070db9.PNG@754bf6a0.47bdf75b]<https://cdn.shopify.com/s/files/1/1217/7686/files/BlackBarbers.png?6110049334991863923> [https://cdn.shopify.com/s/files/1/1217/7686/files/linePad2.png?10176742118938381070]
Lee Nash
MARYLAND FARM, DITCHEAT,
SOMERSET, BA4 6PR, ENGLAND
T. +44 (0)1749 860666<tel:+44%20(0)1749%20860666>
DD. <tel:+44%20(0)1749%20860666>
M. <tel:+44%20(0)1749%20860666>
LeeNash@...<mailto:name@...>
www.barbers.co.uk<http://www.barbers.co.uk>
[https://cdn.shopify.com/s/files/1/1217/7686/files/003Face_294c9508-4fae-4a82-a5a0-185bf7572ee8.png?3457714132398832093]<http://www.facebook.com/Barbers1833> [https://cdn.shopify.com/s/files/1/1217/7686/files/002Insta_cda37848-99d2-457a-ac28-3beb0d6f38f3.png?3457714132398832093] <http://Instagram..com/barbers1833> [https://cdn.shopify.com/s/files/1/1217/7686/files/001Twit_b35541d8-ec84-4409-aa8c-9007c2c51c54.png?3457714132398832093] <http://www.twitter.com/Barbers1833>
Barbers is a trading name of A.J & R.G Barber Limited and its wholly owned subsidiaries. A.J & R.G Barber Limited is a company registered in England and Wales (Registered No. 0551460). Registered Office: Maryland Farm, Smiths Lane, Ditcheat, Shepton Mallet, Somerset, UK, BA4 6PR. This e-mail, its attachments and any other items transmitted with it are confidential and intended only for the addressee named above. If you are not the intended recipient you must not use, copy or distribute to any other person the contents of this message but should immediately reply to the sender and then delete the message from your computer system. VIRUSES - Viruscan has been used to check this e-mail for viruses. However, Barbers cannot guarantee that this e-mail and attachments are free of viruses and you must ensure that you carry out your own virus checks. Barbers accepts no liability for any loss or damage suffered by any person arising from use of this e-mail. Any personal opinions expressed in this e-mail are views of the individual and do not necessarily reflect the views of Barbers.
This message has been scanned for malware by Websense. www.websense.com
[Non-text portions of this message have been removed]
I’m struggling to grant any privileges on a .fdb file database.
I have created a separate user as the SYSDBA reported “Your login SYSDBA is same as one of the SQL role name. Ask your database administrator to set up a valid Firebird Login”.
When I use ISQL to run a select statement on the database in question I get the response:
“Statement failed, SQLSTATE = 28000
No permission for read/select access to TABLE ZIEKTE”
Then I try to GRANT SELECT on TABLE ZIEKTE to USER DW_EXTRACT” however I get the response:
“Statement failed, SQLSTATE = 28000
Unsuccessful metadata update
-no S privilege with grant option on table/view ZIEKTE”
I’ve tried numerous tables but I get the same response.
I have tested the user on the Example database “EMPLOYEE” and have no problems accessing any table on that.
Can you possibly help me or point me in the right direction?
Thanks
Lee
[cid:image070db9.PNG@754bf6a0.47bdf75b]<https://cdn.shopify.com/s/files/1/1217/7686/files/BlackBarbers.png?6110049334991863923> [https://cdn.shopify.com/s/files/1/1217/7686/files/linePad2.png?10176742118938381070]
Lee Nash
MARYLAND FARM, DITCHEAT,
SOMERSET, BA4 6PR, ENGLAND
T. +44 (0)1749 860666<tel:+44%20(0)1749%20860666>
DD. <tel:+44%20(0)1749%20860666>
M. <tel:+44%20(0)1749%20860666>
LeeNash@...<mailto:name@...>
www.barbers.co.uk<http://www.barbers.co.uk>
[https://cdn.shopify.com/s/files/1/1217/7686/files/003Face_294c9508-4fae-4a82-a5a0-185bf7572ee8.png?3457714132398832093]<http://www.facebook.com/Barbers1833> [https://cdn.shopify.com/s/files/1/1217/7686/files/002Insta_cda37848-99d2-457a-ac28-3beb0d6f38f3.png?3457714132398832093] <http://Instagram..com/barbers1833> [https://cdn.shopify.com/s/files/1/1217/7686/files/001Twit_b35541d8-ec84-4409-aa8c-9007c2c51c54.png?3457714132398832093] <http://www.twitter.com/Barbers1833>
Barbers is a trading name of A.J & R.G Barber Limited and its wholly owned subsidiaries. A.J & R.G Barber Limited is a company registered in England and Wales (Registered No. 0551460). Registered Office: Maryland Farm, Smiths Lane, Ditcheat, Shepton Mallet, Somerset, UK, BA4 6PR. This e-mail, its attachments and any other items transmitted with it are confidential and intended only for the addressee named above. If you are not the intended recipient you must not use, copy or distribute to any other person the contents of this message but should immediately reply to the sender and then delete the message from your computer system. VIRUSES - Viruscan has been used to check this e-mail for viruses. However, Barbers cannot guarantee that this e-mail and attachments are free of viruses and you must ensure that you carry out your own virus checks. Barbers accepts no liability for any loss or damage suffered by any person arising from use of this e-mail. Any personal opinions expressed in this e-mail are views of the individual and do not necessarily reflect the views of Barbers.
This message has been scanned for malware by Websense. www.websense.com
[Non-text portions of this message have been removed]