Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: "rote" <naijacoder@xxxxxxxxxxx>
- Date: Fri, 4 Jan 2008 17:20:07 +1100
Thanks Joe.I would have a look at this.
Let me know if you have more hints
Thanks
"Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23uPYNgiTIHA.4532@xxxxxxxxxxxxxxxxxxxxxxx
You need to use a different approach for doing this. Our book covers
group membership expansion in ch 11, so I'd start with those samples. I
think Ryan has written a few improved versions of the code as well which
are available in the full samples from the website.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"rote" <naijacoder@xxxxxxxxxxx> wrote in message
news:%236yNkOdTIHA.4476@xxxxxxxxxxxxxxxxxxxxxxx
Sorry Joe.
What i meant is i want users to type an Active Directory Group and then
when they click submit they get users who belong to that group.
Currently i can type in a user using the CN or userid and then it returns
their AD groups
changing my filter to:
searcher.Filter = "(&(objectCategory=group)(sAMAccountName=" +
groupnames+ "))";
I can type in a group name and i get groups that are under the group name
i typed in does that make sense
.
"Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eJF08ocTIHA.1184@xxxxxxxxxxxxxxxxxxxxxxx
Thanks a bunch. :)
Can you explain what you mean by this? I don't quite follow:
One more question is can i do group names to return me users that
belongs to those groups?
It is possible to get the members of a group as well if you want, but I
don't see how that is relevant to what you were originally trying to do.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
.
- References:
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: rote
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: Joe Kaplan
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: rote
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: rote
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: Joe Kaplan
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: rote
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: Joe Kaplan
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: rote
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- From: Joe Kaplan
- Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- Prev by Date: Re: Problem establishing SSL connection in code-behind
- Next by Date: Re: Problem establishing SSL connection in code-behind
- Previous by thread: Re: searching what groups a user belong from AD but errorThe Kerberos subsystem encountered an error. A service for user protocol request was made
- Next by thread: Problem establishing SSL connection in code-behind
- Index(es):
Relevant Pages
|
|