![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
hi all, i'm having a play & turned on database security on a test box, as we have found that accessing the database via ODBC from a linux box connects (and allows sql updates) without specifying a username/password! i now want to turn the database security off, but when I try (from PCC), I get an error : [Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface][Data Record Manager]This database has no security so the command has no effect. I find this a bit odd, as there are users in the Users pane, users in the X$USer table, and the security tab on the properties of the database says "Database Security: Enabled". I get a similar error if I try and delete one of the users - "This database has no security so the command has no effect." Anyone got any ideas? thanks Dave |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Thanks Bill. I found the cause of the problem today in fact. I installed the SP3 (8.7) client on my workstation and that appears to have fixed the problem. If I fire up PCC from an SP1 workstation, the problem appears .. so looks like a bug in the client itself ! On a side note, i'm just trying out your killuser utility. I am using the following command line on my test box: killuser /Sdanshape_test /UMaster /P123456 /D /KS However, it doesn't seem to work. The output from killuser is as follows: Status from pvStart = 0 status from pvConnectServer = 7004 Any clue as to what that error code means? The connections are still visable in Monitor. Cheers, thanks heaps Dave |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Thanks Bill. So it uses the OS authentication, not the database authentication? To log into Monitor, I use my OS username/password, which, as I'm on Novell, is a fully qualified NDS name, including the preceeding period and container names. See the following output: R:\General Software\Pervasive>killuser /Sdanshape_test /U.admin.test /P123456 /D /KS KillUser Version 1.4: 03/22 (C)2002-04 Goldstar Software Inc. Status from pvStart = 0 status from pvConnectServer = 0 status from PvGetServerName = 0 Unable to Retrieve Active Client Information (Status=0) status from PvDisconnect = 0 Status from pvStart = 0 |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Cheers Bill. If that's the case, have you got any idea why the above example isn't killing the connections? Using the same login creds in Monitor works no probs. ie username: .admin.test password: 123456 cheers & thanks, Dave ![]() |
#10
| |||
| |||
|
|
Cheers Bill. If that's the case, have you got any idea why the above example isn't killing the connections? Using the same login creds in Monitor works no probs. ie username: .admin.test password: 123456 cheers & thanks, Dave ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |