Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Extract more than 1000 active directory accounts


Extract more than 1000 active directory accounts

Author
Message
Joshua Perry
Joshua Perry
SSC Veteran
SSC Veteran (298 reputation)SSC Veteran (298 reputation)SSC Veteran (298 reputation)SSC Veteran (298 reputation)SSC Veteran (298 reputation)SSC Veteran (298 reputation)SSC Veteran (298 reputation)SSC Veteran (298 reputation)

Group: General Forum Members
Points: 298 Visits: 1
Comments posted to this topic are about the item Extract more than 1000 active directory accounts
Bridget Elise Nelson
Bridget Elise Nelson
Old Hand
Old Hand (388 reputation)Old Hand (388 reputation)Old Hand (388 reputation)Old Hand (388 reputation)Old Hand (388 reputation)Old Hand (388 reputation)Old Hand (388 reputation)Old Hand (388 reputation)

Group: General Forum Members
Points: 388 Visits: 72
Please provide more directions on this. Such as 'LDAP://SERVERNAME/ou=OUName,dc=host,dc=domain,dc=tld'?
Can this be ran on SQL server only?
Joshua M Perry
Joshua M Perry
SSC-Addicted
SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)SSC-Addicted (464 reputation)

Group: General Forum Members
Points: 464 Visits: 545
Bridget Elise Nelson (10/24/2007)
Please provide more directions on this. Such as 'LDAP://SERVERNAME/ou=OUName,dc=host,dc=domain,dc=tld'?
Can this be ran on SQL server only?


'LDAP://SERVERNAME/ou=OUName,dc=host,dc=domain,dc=tld' is the way that you specify the Active Directory server, it is called a distinguished name.

http://msdn.microsoft.com/en-us/library/aa366101(VS.85).aspx

You can run it completely in SQL server if you use a script task in SSIS to execute the vbscript portion.

Joshua Perry
http://www.greenarrow.net
lgibbons
lgibbons
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 13
This would be great to run in a SSIS project. Could you elaborate a bit on how to make it work in SSIS? Do you just paste the code into a script task and change the server and authentication piece or do you need to setup the connections and past a piece of the code in a script task?
Iwas Bornready
Iwas Bornready
SSCrazy Eights
SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)SSCrazy Eights (8.7K reputation)

Group: General Forum Members
Points: 8708 Visits: 885
Thanks for the script.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search