Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Setting up new users in Active Directory and SQL Server

Posted on 2006-06-14
5
Medium Priority
?
338 Views
Last Modified: 2010-04-18
Here's my problem:

Currently, when I set up a new user in Active Directory, I have to go through an entire process to get them set up, which can be a pain.

1.) Create a new user folder in our shared directory to hold their profile data (we use Roaming Profiles)
2.) Create a new user in AD using a standardized user name (first initial + last name...any way to automate this?).  I've also got to set the Profile Path to the shared directory for their roaming profile.
3.) Set the new user to two security groups.
4.) Set up SQL Server Logins, in both the Security Logins and then assign that user to a specific database in SQL Server.

The question is:  Is there a way to either automate or script this entire process so the only thing I have to do is create a new user in Active Directory and then be done with it?  If not, what parts can I automate, just to make the process easier.

Now, I'm pretty sure I can set up SQL Server to utilize an AD Security Group as a means of access, but I'm not 100% sure how to get this done, so that might be a simple answer.

I can definitely benefit from some expert advice.  Please let me know if you have any additional questions.  I'm by no means a Windows Server 2003 or SQL Server guru, but I can hold my own.  Thanks in advance.
0
Comment
Question by:cdramos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 33

Accepted Solution

by:
NJComputerNetworks earned 750 total points
ID: 16905704
For SQL, you can use group based security... go into SQL enterprise administrator...  click AQL server group, local, security-->logins.    Here you can add a new login...use the "..." button to browse your domain...  and you can select a group to give SQL server database access to.
0
 
LVL 1

Author Comment

by:cdramos
ID: 16906751
Thanks for the suggestion.  I'll give out partial points for that.  I kind of figured that for SQL Server.  I guess I just needed someone to reaffirm that.  Anyone else have suggestions on the AD user set up?
0
 
LVL 1

Author Comment

by:cdramos
ID: 17122066
Is it possible to award partial points?  The question that NJComputerNetworks didn't quite answer my entire question, only a part of it.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question