Re: DirectoryServices

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Marc Scheuner [MVP ADSI] (m.scheuner_at_inova.SPAMBEGONE.ch)
Date: 07/24/04


Date: Sat, 24 Jul 2004 10:49:32 +0200


>However I realised that if we chould take this route everytime I wish to
>display a users name I will have to do a lookup to get the details from the
>to AD after getting the windwos user account from SQL Server.
>
>This sounds rubbish to be frank. Should I just store what I need i.e.,
>First name, surname, email address in the database and us the AD purely for
>authentication. But then doesn't this loose some of the valu eof the AD and
>means there are two sources of info to maintain.

Yes, why would you want to redundantly store user name, e-mail and
such AGAIN in SQL Server, if that's already available in your AD??
That sounds like rubbish! Redundancy is bad - avoid wherever possible!

AD is a directory service that's optimized for read requests - it's
very fast and efficient to read some data from AD - much more so that
from a general purpose SQL server table. AD however is *NOT* optimized
for data that's changing a lot - e..g it would be a bad idea for an
order system or such thing. That's where SQL Server really comes in
handy.

So really, I think the combination of AD for storage of your user data
(which is in there ANYWAY, right?), and SQL Server for your often
changing data *IS* indeed the way to go!

Marc



Relevant Pages

  • Re: Delphi Roadmap (by David I)
    ... Rubbish. ... hear from SQL Server again. ... Oliver Townshend ... Prev by Date: ...
    (borland.public.delphi.non-technical)
  • Re: copy a table
    ... Marcin Zmyslowski wrote: ... How to copy a table in MS SQL Server 2000 without chaning a ... copy this table without changing data and structure of a table? ...
    (comp.databases.ms-sqlserver)
  • Re: DirectoryServices
    ... by classes in the DirectoryServices Namespace? ... > such AGAIN in SQL Server, if that's already available in your AD?? ... I think the combination of AD for storage of your user data ...
    (microsoft.public.dotnet.framework)
  • Re: Upsize and performance
    ... deleting of fields from a table) back when I was evaluating SQL Server. ... work with the database or Access. ... Unused objects only take up a negligable amount of memory. ... you're talking about changing data in the SQL Server tables, ...
    (microsoft.public.access.modulesdaovba)
  • Re: Upsize and performance
    ... I am referring to adding a fieldto a table via SQL Server Manager. ... Unused objects only take up a negligable amount of memory. ... you're talking about changing data in the SQL Server tables, ... when I change the SQL database tables the change is not reflected in Access ...
    (microsoft.public.access.modulesdaovba)