Actually, the Colin Wilson code looks like it can do some of that Active 
Directory stuff, but that's a unit that you add to your project, not a 
component. I guess the best way is to use COM and do it yourself as explained 
at a web site linked from that blog page I sent you. 



Sean Roberts <[EMAIL PROTECTED]> wrote:                             Thanks for 
the links.
 
 I took a look at the component(s) you suggested, and they (from what 
 I could see) don't really do AD stuff.
 
 They do more NT-type server stuff, and I already own the (AWESOME) 
 NTSet components (http://www.sam-solutions.net/products/ntset.html).
 
 I also own the (equally AWESOME) WMISet components (http://www.online-
 admin.com/wmiset.html).
 
 I was just hoping that someone out there has/had some ADSI sample 
 code they might have used for moving computer accounts between OUs.
 
 I'll keep digging...
 
 Maybe someone in the group will see my posts this weekend and throw 
 me a bone.
 
 :)
 
 --- In advanced_delphi@yahoogroups.com, David Smith 
 <[EMAIL PROTECTED]> wrote:
 >
 >    I'm just curious: Why wouldn't you use the supplied Microsoft 
 tools for accomplishing this? That sounds like an unbelievably 
 trivial operation to accomplish  using NWAdmin in Novell's NDS.
 > 
 >    Search for some components that encapsulate the API, or I think 
 JEDI has a unit that encapsulates that functionality. 
 > 
 >     I found Colin Wilson's units for Active Directory in the few 
 minutes I spent searching. JEDI is rather poorly documented (still!):
 > 
 > http://www.wilsonc.demon.co.uk/delphi.htm
 > 
 > Dave
 > 
 > 
 > Sean Roberts <[EMAIL PROTECTED]> 
 wrote:                             Greetings to all!
 >  
 >  I've been working with Delphi for quite a while, but I've never 
 had to 
 >  use it to access Active Directory.
 >  
 >  Part of my job as a Desktop Administrator is to move machine 
 accounts 
 >  around in our AD OU structure.
 >  
 >  Does anyone have code for how to move a machine account from one 
 OU to 
 >  another?
 >  
 >  If someone can point me in the right direction, I would be very 
 >  appreciative.
 >  
 >  Thanks in advance,
 >  
 >  - Sean Roberts
 >    [EMAIL PROTECTED]
 >  
 >  
 >      
 >                                        
 > 
 >  __________________________________________________
 > Do You Yahoo!?
 > Tired of spam?  Yahoo! Mail has the best spam protection around 
 > http://mail.yahoo.com
 >
 
 
     
                                       

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to