PC Review


Reply
Thread Tools Rate Thread

Admins Group Has No Permissions With Recreated 2002 MDW

 
 
John Slattery
Guest
Posts: n/a
 
      23rd Jun 2005
I recreated my Access 97 MDW in 2002 and discovered that the Admins group in
the new MDW has no permissions on any of the objects it did with the old
MDW. Concerned that I might have the name, company, and WID wrong, I
created a new 97 MDW with the same information and found that the Admins
group had all of the expected permissions. The only thing that is a little
out of the ordinary is that the WID is composed of 20 randomly generated
characters selected from byte values 1 through 255 (i.e., null excluded).

In all other respects, the Admins group in the 2002 MDW seems to be normal.
For instance, if I create a new MDB, the Admins group has all permissions.

Thanks.


 
Reply With Quote
 
 
 
 
TC
Guest
Posts: n/a
 
      24th Jun 2005
It is my understanding that if you keep the identical, case-sensitive
company, organization & WID then the Admins groups should be the same.

There are some products on the web that will print the Security
Identifier (SID) values from a workgroup file. If you can find one,
that would give you a definitive answer - the two Admins groups should
have the same SID. Alternatively I will look at the two files, if you
email them to me (zipped) via the relevant button on the "show options"
panel of the new google groups interface. (You'd want to create two new
files with values different to your existing files.)

As for the "randomly chosen characters", are you sure that the WID
allows all those values? I've searched, briefly, but can not find, a
technical description of the WID, on MSDN. I assume you're using Alt
key sequences to type them in?

HTH,
TC

 
Reply With Quote
 
Joan Wild
Guest
Posts: n/a
 
      24th Jun 2005
"TC" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> It is my understanding that if you keep the identical, case-sensitive
> company, organization & WID then the Admins groups should be the same.


will be..

> As for the "randomly chosen characters", are you sure that the WID
> allows all those values? I've searched, briefly, but can not find, a
> technical description of the WID, on MSDN. I assume you're using Alt
> key sequences to type them in?


It's likely that the workgroup was created by the security wizard. It will
use 'randomly chosen characters'.


--
Joan Wild
Microsoft Access MVP


 
Reply With Quote
 
John Slattery
Guest
Posts: n/a
 
      24th Jun 2005
I appreciate your post and offer, TC. I've nearly come to the conclusion
that I have reached a deadend here. Something has apparently changed since
I created the MDW with Access 97 on Win97 and where we are now, Access 2002
on WinXP. With the name, org and WID I have recorded I can create perfectly
functioning new MDWs all day long, but somehow our current environment is
handling things differently and producing a different Admins SID.

What's worse is that I have not been able to duplicate the problem with
another WID yet. I created a 97 MDW with a trivial WID, created a new
database with it, created a 2002 MDW with the same credentials, converted
the new database, and opened it to find the expected Admins permissions. I
also tried the same experiement with a WID consisting of a single byte with
a value of 252 and had the same result. I intend to generate a few WIDs in
the manner I originally used (a function using Rnd to send a string to the
Immediate window and then pasting to the WID text box). If I can produce
one that duplicates the problem, I will send the credentials and the MDWs as
you suggested.

Long ago, when I created the 97 MDW, I couldn't find a technical desrciption
of the WID, either, beyond the fact that it must be between 4 and 20
characters, is case-sensitive, and accepts alphanumeric characters.
Experimentation demonstrated that I could produce 97 MDWs with WIDs
containing any bytes other than null and consistently reproduce the MDW.

Hope to have an example of an offending WID later today.

Thanks.


 
Reply With Quote
 
John Slattery
Guest
Posts: n/a
 
      24th Jun 2005
Joan, thanks for your post. Please see my 6/24/2005 reply to TC describing
experience that would seem to call into question a truth I too have always
accepted, that the Admins SID of workgroups created with the same
credentials "will be" identical. The WID I used and the ones I created for
testing were produced with the following function and pasted from the
Immediate window to the WID text box of the Workgroup Administrator.
Thanks, again.

Public Function strPID() As String
'verified that all ascii characters except nul are valid for PID

Const bytcChrBoundLower As Byte = 1
Const bytcChrBoundUpper As Byte = 255
Const bytcPIDLen As Byte = 20

Dim bytChr As Byte
Dim strPIDHold As String

Randomize
For bytChr = 1 To bytcPIDLen
strPIDHold = strPIDHold & Chr$(Int((bytcChrBoundUpper -
bytcChrBoundLower + 1) * Rnd + bytcChrBoundLower))
Next bytChr

strPID = strPIDHold

End Function


 
Reply With Quote
 
John Slattery
Guest
Posts: n/a
 
      24th Jun 2005
Credentials that reproduce the problem for me are as follows:

Name: CSM
Organization: CSM
Workgroup ID: { {>hTs_;Z

The hex values for the bytes of the WID are: CA 7B 20 7B 3E 68 C3 99 12 A7
1C 8F 73 FC ED E2 5F C2 3B 5A

Decimal values are: 202 123 32 123 62 104 195 153 18 167 28 143 115 252 237
226 95 194 59 90

(I've attached a text file with the credentials. Testing the attachment
with a post to microsoft.test showed that it works fine with a news reader
but not so well at google.)

To reproduce the issue:

1) Create an Access 97 MDW using the supplied credentials, pasting the WID
into the WID text box of the Workgroup Administrator.
2) Open Access 97 with the 97 MDW.
3) Create a new Access 97 MDB.
4) Create and Access 2002 MDW using the supplied credentials, pasting the
WID into the WID text box of the Workgroup Administrator.
5) Open Access 2002 with 2002 MDW.
6) Convert the Access 97 MDB to Access 2002 file format.
7) Open the Access 2002 MDB.
8) Examine the permissions of the Admins group on the Access 2002 MDB.
(None will be found.)
9) Create another Access 97 MDW using the supplied credentials, pasting the
WID into the WID text box of the Workgroup Administrator.
10) Open Access 97 with the second 97 MDW.
11) Open the Access 97 MDB.
12) Examine the permissions of the Admins group on the Access 97 MDB. (All
expected permissions are present.)

Thanks.




 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      25th Jun 2005
But he meant randomly chosen characters /including non-displayable
ones/:

"composed of 20 randomly generated characters selected from byte values
1 through 255 (i.e., null excluded)"

This would include (eg.) CR and LF.

Cheers,
TC

 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      25th Jun 2005
Ok, I'll give that a go. But I did expect that you'd just send me the
two files :-) Then I'd simply run them through my custom code which
accesses workgroup & database files without Access or Jet.

But I will try it manually as per your instructions. This will take 2
(maybe 3) days because it is currently the week-end here, & I'm just
about to go out to lunch! I will definitely post back here within 4
days one way or the other.

Cheers,
TC

 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      25th Jun 2005
John, sorry, I now realize that I do not currently have easy access to
Access versions > 97 on my current PC. I develop everything in 97, then
use someone else's PC when I have to generate new builds in the higher
versions. It will not be convenient for me to access that other PC for
the purpose of testing your process.

Therefore, if possible, could you please email me the two files in
question? Obviously you would change the various values, so this would
not, in any way, be a breach of your security. The thing is, I can run
my custom software to examine those files, whatever version of Access
they are in, without having any particular version of Access on my PC.

Cheers,
TC

 
Reply With Quote
 
John Slattery
Guest
Posts: n/a
 
      1st Jul 2005
In the end, a workgroup file decryption program determined that the 97 and
2002 workgroup administrators /translated/ the WID I provided, each in
different ways, but consistently. The moral is constrain your WIDs to
keyboard characters, perhaps even just a-z A-Z 0-9. Thanks to everyone for
their input.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access to secure database without admins group permissions =?Utf-8?B?U2FtIE9saW1h?= Microsoft Access Security 0 1st Sep 2007 11:46 PM
Remove domain admins from local admins group on specific servers =?Utf-8?B?UkE=?= Microsoft Windows 2000 Active Directory 6 21st Oct 2005 07:28 PM
How to move Enterprise Admins Group and Schema Admins Group to other domain Sathit Chaisukee Microsoft Windows 2000 Active Directory 2 22nd Jan 2004 03:45 AM
Enterprise Admins and Domain Admins Group Hutch Microsoft Windows 2000 Active Directory 1 22nd Oct 2003 04:06 PM
add domain admins into local admins group for xp rix Microsoft Windows 2000 Group Policy 2 2nd Oct 2003 04:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:35 AM.