SQL Clone
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
Old Hand
Old Hand (368 reputation)Old Hand (368 reputation)Old Hand (368 reputation)Old Hand (368 reputation)Old Hand (368 reputation)Old Hand (368 reputation)Old Hand (368 reputation)Old Hand (368 reputation)

Group: General Forum Members
Points: 368 Visits: 1
Comments posted to this topic are about the item Extract more than 1000 active directory accounts
Bridget Elise Nelson
Bridget Elise Nelson
SSC-Addicted
SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)

Group: General Forum Members
Points: 400 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
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1738 Visits: 566
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 (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: General Forum Members
Points: 9 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
SSC-Forever
SSC-Forever (46K reputation)SSC-Forever (46K reputation)SSC-Forever (46K reputation)SSC-Forever (46K reputation)SSC-Forever (46K reputation)SSC-Forever (46K reputation)SSC-Forever (46K reputation)SSC-Forever (46K reputation)

Group: General Forum Members
Points: 46190 Visits: 886
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