S
scsharma
Hi,
I am new to active directory world but based on what i know i am trying to
achieve following:
1. Look for user/groups on a windows 2000 machine which is not a PDC(primary
domain controller). I created Directory entry object as follows:
DirectoryEntry group = new
DirectoryEntry("LDAP://CN=guests,DC=XXX.XXX.XX.X");
where "X" is actual IP Address of machine.
I ran into issues where i got exception saying "A referral was returned
from the server" when following line was executed:
object members = group.Invoke("Members",null);
I am not sure if i can query PDC to look for users/groups on some other
machine running in same domain. Can some one verify if that's possible. If
yes then can you please direct me.
2. I am trying to create a user interface which will allow user to create a
subdirectory on machine running windows 2000 machine. Please note that my
application would be running on windows XP. Using my UI user will, specify
the ipaddress of windows 2000 on which finally subfolder will be created and
users from that machines would be given permission on those folders.
Is above requirement possible using C# in .net.
I am new to active directory world but based on what i know i am trying to
achieve following:
1. Look for user/groups on a windows 2000 machine which is not a PDC(primary
domain controller). I created Directory entry object as follows:
DirectoryEntry group = new
DirectoryEntry("LDAP://CN=guests,DC=XXX.XXX.XX.X");
where "X" is actual IP Address of machine.
I ran into issues where i got exception saying "A referral was returned
from the server" when following line was executed:
object members = group.Invoke("Members",null);
I am not sure if i can query PDC to look for users/groups on some other
machine running in same domain. Can some one verify if that's possible. If
yes then can you please direct me.
2. I am trying to create a user interface which will allow user to create a
subdirectory on machine running windows 2000 machine. Please note that my
application would be running on windows XP. Using my UI user will, specify
the ipaddress of windows 2000 on which finally subfolder will be created and
users from that machines would be given permission on those folders.
Is above requirement possible using C# in .net.