Article View: borland.public.cppbuilder.nativeapi
Article #3294Re: computer sid
From: Mike Collins
Date: Tue, 11 Jul 2006 19:07
Date: Tue, 11 Jul 2006 19:07
48 lines
3171 bytes
3171 bytes
Just in following with the previous post, I've cut and pasted this from the books electronic version: // ******************************************************************************* When you install Windows 2000, the Windows 2000 Setup program issues the computer a SID. Windows 2000 assigns SIDs to local accounts on the computer. Each local-account SID is based on the source computer's SID and has a RID at the end. RIDs for user accounts and groups start at 1000 and increase in increments of 1 for each new user or group. Similarly, Windows 2000 issues a SID to each newly created Windows 2000 domain. Windows 2000 issues to new domain accounts SIDS that are based on the domain SID and have an appended RID (again starting at 1000 and increasing in increments of 1 for each new user or group). A RID of 1028 indicates that the SID is the 29th SID the domain issued. Windows 2000 issues SIDS that consist of a computer or domain SID with a predefined RID to many predefined accounts and groups. For example, the RID for the administrator account is 500, and the RID for the guest account is 501. A computer's local administrator account, for example, has the computer SID as its base with the RID of 500 appended to it: S-1-5-21-13124455-12541255-61235125-500 Windows 2000 also defines a number of built-in local and domain SIDs to represent groups. For example, a SID that identifies any and every account is the Everyone, or World, SID: S-1-1-0. Another example of a group that a SID can represent is the network group, which is the group that represents users who can log on to a machine from the network. The network-group SID is S-1-5-2. Table 8-2, reproduced here from the Platform SDK documentation, shows some of the basic well-known SIDs, their numeric values, and their use. Copyright � 2000 by David A. Solomon and Mark E. Russinovich <- for piece of mind :) // ******************************************************************************* "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:44b3d727$1@newsgroups.borland.com... > > "Mike Collins" <its@TheBottomOfThePost.com> wrote in message > news:44b3a626$1@newsgroups.borland.com... >
Technical Details
Message-ID:
<44b3f6ef$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44b3a626$1@newsgroups.borland.com> <44b3d727$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,752843d06b3a660f X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: "Mike Collins" <its@TheBottomOfThePost.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <44b3a626$1@newsgroups.borland.com> <44b3d727$1@newsgroups.borland.com> Subject: Re: computer sid Date: Tue, 11 Jul 2006 20:07:29 +0100 Lines: 50 Organization: SDA Ltd X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.2663 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663 NNTP-Posting-Host: 81.2.92.14 Message-ID: <44b3f6ef$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1152644847 81.2.92.14 (11 Jul 2006 12:07:27 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail