Re: Active directory update
From: oj (nospam_ojngo_at_home.com)
Date: 04/21/04
- Next message: Greg Linwood: "Re: Use of UNIQUEIDENTIFIER vs IDENTITY for PK with VB.NET/SQL2000"
- Previous message: Stewart Saathoff: "Re: How do I verify a valid sql statement programatically ??"
- In reply to: Paul Ritchie: "Active directory update"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Apr 2004 17:24:49 -0700
Paul,
I would look into WMI and sp_OA* if you really want to do it from Sql.
Though, I would go against this. Modifying AD is quite serious. Care should
be taken.
-- -oj http://www.rac4sql.net "Paul Ritchie" <Paul.Ritchie@REMOVEpayglobalREMOVE.comREMOVE> wrote in message news:%235UQlnnJEHA.2412@TK2MSFTNGP12.phx.gbl... > A client has asked me whether it is possible to (i) update an Active > Directory when Employee details are changed in our SQL Server database. > There is also the requirement to (ii) update our database when AD records > are changed. > > I thought that given there appears to be an OLEDB provider that there should > be a way to implement (i) using a trigger/stored proc. I'd really like to > find an example of that before I believe it is achieveable however. > > It seemed to me that I would have to modify our application to achieve (ii), > especially as there appears to be no trigger type event in AD. However if > (i) can be achieved with triggers then maybe the same logic could be used to > periodically update the database from AD using a stored procedure. > > I have searched the newsgroup archives but this area does not seem to be > actively used. Am I maybe looking in all the wrong places? > > regards, > Paul Ritchie. > >
- Next message: Greg Linwood: "Re: Use of UNIQUEIDENTIFIER vs IDENTITY for PK with VB.NET/SQL2000"
- Previous message: Stewart Saathoff: "Re: How do I verify a valid sql statement programatically ??"
- In reply to: Paul Ritchie: "Active directory update"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|