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 (356 reputation)Old Hand (356 reputation)Old Hand (356 reputation)Old Hand (356 reputation)Old Hand (356 reputation)Old Hand (356 reputation)Old Hand (356 reputation)Old Hand (356 reputation)

Group: General Forum Members
Points: 356 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 (390 reputation)Old Hand (390 reputation)Old Hand (390 reputation)Old Hand (390 reputation)Old Hand (390 reputation)Old Hand (390 reputation)Old Hand (390 reputation)Old Hand (390 reputation)

Group: General Forum Members
Points: 390 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
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1104 Visits: 551
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 (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 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
One Orange Chip
One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)

Group: General Forum Members
Points: 29420 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