Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6025285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:16:43+00:00 2026-05-23T04:16:43+00:00

I am working on an application in which I identify users nd groups on

  • 0

I am working on an application in which I identify users nd groups on the basis of their RIDs. Hence there would be a problem if duplicate RIDs exist on the domain. The following link http://support.microsoft.com/kb/315062 says that it is possible if the admin seizes the role of the RID manager and two or more users request for an RID simultaneously. I wanted to know what could be other possibilities which could result in duplicate RIDs.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:16:44+00:00Added an answer on May 23, 2026 at 4:16 am

    The thing I don’t understand in your question is why you are using RIDs to distinguish users and groups. The objects are from different classes so they are naturaly distinguished.

    In Win32 programming you can just use :

    BOOL WINAPI LookupAccountSid(
      __in_opt   LPCTSTR lpSystemName,
      __in       PSID lpSid,
      __out_opt  LPTSTR lpName,
      __inout    LPDWORD cchName,
      __out_opt  LPTSTR lpReferencedDomainName,
      __inout    LPDWORD cchReferencedDomainName,
      __out      PSID_NAME_USE peUse
    );
    

    This API comes from Authorization Functions to retrieve in peUse if the SID is a User or a Group.

    Using the .NET Framework (C#) the SecurityIdentifier can be used to determine if the SID represent a valid domain account.

    Last thing : the way that is commonly use to distinguish objects in a directory is the objectGUID attribute. This attribute is present in each object. So you can retreive objects from Active Directory Service Interface (ADSI) using SIDs or GUIDs

    "LDAP:///<GUID={28c67c50-9778-47a4-a77a-bf56f238a0c4}>"
    

    or

    "LDAP:///<SID=S-1-5-21-500000003-1000000000-1000000003-1001>"
    

    (Edited after your comment)
    As far as I know, duplicated RID inside a domain is considered as an exception explained by the lost of a domain controller that serves the role of Relative ID (RID) Master. Perhaps it exists hack tools that are able to patch the AD database to change SIDs but I don’t know them.

    Be careful, RIDs may be duplicated in other domains. If you’ve got subdomains or other trees in you forest, you can find again the same RIDs with different sub-authorities (potentialy in the same ACL)

    I found also duplicated in computer SIDs but it was due to bad Ghost usage.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on an application which draws a simple dot grid. I would
I am working on an application which has some legacy code. Here, there is
I'm currently working on desktop application which calls third party API. After authorizing against
I'm working profesionally on a php web application which contains contacts, among other data.
I'm working on a .Net application which uses Asp.net 3.5 and Lucene.Net I am
I am working on a WPF application which has a treeview that represents an
I'm working on an asp.net application which uses Lucene.net I need to highlight the
Currently i am working on a desktop application which consists mathematical analysiss.I am using
I am working on a web-application in which dynamically-created images are used to display
I am working on a web application in Java which gets data from servlets

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.