I decided to go with asp, I exclude a path from SharePoint and use asp,
that will make things easier at first.

Now the problem that I am having is, how do I configure IIS so the
authenticated users can see/modify some of their attributes in AD?

If I use the default AD IUSR for that server (IUSR_<servername>, in the
directory security under anonymous access, that user cant change things
in AD, but I cant use an administrator account neither for security
reason...so how should I configure IIS so it lets query and change
user's attributes in AD?

Thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Kaplan
Sent: Wednesday, October 11, 2006 3:36 PM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] OT: WSS and AD. WebPart user information

The actual code for programming AD in .NET is pretty similar to ADSI
(since it uses ADSI under the hood).  There is a more powerful, strongly
typed search interface called the DirectorySearcher that is actually
much more powerful an easier to use than ADO for searching.
All in all, it really isn't that hard.

The difficult part is the security aspects of connecting to the
directory.  There really aren't any shortcuts here, and most of the same
issues would exist in an ASP page (you actually have fewer choices in
ASP, but the same basic problems).  Once you decide if you want trusted
subsystem or delegated model for authentication, the rest falls into
place.

The other issue is that you'll likely spend more time on the HTML/UI
aspects of the control than you will on the LDAP parts.  That's the way
it always seems to work out.  :)

Joe K.

On 10/11/06, Ramon Linan <[EMAIL PROTECTED]> wrote:
> Frustrating!, :) sounds very hard to do for a .net newbie like me. I 
> have work with Zope and Plone before and everything is much easier...
> Unluckily, we cant use Plone or other CMS I am more familiar with, and

> I need to create this "tool", webpart or whatever so the users can 
> update their contact info.
>
> I have done a few scripts in asp to display information from AD even 
> to change information in AD, my problem is how to do that inside 
> SharePoint, unless I can create an external page to do this and have a

> link in the SharePoint site...
>
> Anyway, thanks for the info, I will get your book to see if figure 
> things out.
>
> Thanks
>
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ml/threads.aspx
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ml/threads.aspx

Reply via email to