Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 345
  • Last Modified:

Setting up new users in Active Directory and SQL Server

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
cdramos
Asked:
cdramos
  • 2
1 Solution
 
NJComputerNetworksCommented:
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
 
cdramosAuthor Commented:
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
 
cdramosAuthor Commented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now