RE: Determine Global Group vs User in Local?

From: localhost (primpilus_at_cohort.ces)
Date: 12/11/03


Date: Thu, 11 Dec 2003 07:43:56 -0800


That is not a workable option for me.

The web server in question has a local group with 6
domain users, 3 global groups from one account domain,
and 2 global groups from another account domain. I
cannot reasonably make 11 LDAP queries to one account
domain to see if every entry is a group and then then
same 11 queries to another domain.

If I look at local group membership in the Computer
Management MMC, the GUI displays whether an entry is a
user or a global group. I need to do the same thing, but
with C# code.

How can I tell if an entry in a local group on a web
server (member server) is a global group or a user
account?

Thanks.

>-----Original Message-----
>You may query the whole domain with LDAP to see if there
is a group with
>such a name. For example:
>
>DirectoryEntry oGrp = new
>DirectoryEntry
("LDAP://CN=MyGroup,CN=Users,DC=Fabrikam,DC=com");
>
>Hope this help,
>
>Luke
>Microsoft Online Support
>
>Get Secure! www.microsoft.com/security
>(This posting is provided "AS IS", with no warranties,
and confers no
>rights.)
>
>.
>



Relevant Pages

  • Re: Problem with single sign-on configuration
    ... have you added your SSO account to the SSO Service? ... SPS_WPG local group? ... SQL Server is installed on the same server as ... > Important thing to mention is that single sign-on worked fine and than one ...
    (microsoft.public.sharepoint.portalserver)
  • SMS and Machine$ account permissions?
    ... I seem to be having difficulty correctly setting SMS and Machine$ account ... Machine$ account to a local group on another server. ... The MP server and SQL ...
    (microsoft.public.sms.setup)
  • Re: Re-Post - "the trust relationship between this workstation and the
    ... "the trust relationship between this workstation and the primary domain ... only problem is adding a new user account on the station. ... Client computer must use STRICTLY the INTERNAL DNS server which can ... Attr: subschemaSubentry ...
    (microsoft.public.windows.server.active_directory)
  • Re: Same question, still no answer!!!
    ... Sounds then like we are all paying for a feature set only large companies ... The "proxy server" pc is actually an older box stuffed ... Expectation #1) keep the ethernet more or less as is. ... The kids account would be ...
    (microsoft.public.windowsxp.basics)
  • Re: Re-Post - "the trust relationship between this workstation and the
    ... "the trust relationship between this workstation and the primary domain ... only problem is adding a new user account on the station. ... This would be on the DNS server 172.20.100.2 ... Attr: subschemaSubentry ...
    (microsoft.public.windows.server.active_directory)

Loading