LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-29-2014, 12:57 AM   #1
mangeshs
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
Wink Create user in Windows AD & redirect to Linux server automatically


Purpose: Students should be able to use Windows Software in on all terminals (Ncomputing) while storing their data on Linux.

We are trying to create users in Windows AD to automatically redirect their their configuration and home directory on Linux automatically so that logically they login on Windows Server, use MS Office as part of their school curriculum, but store their identities and data on Linux.

What we have done:
We have installed Windows Server 2012 in VirtualBox on IBM x3100 M4 2582 (that is another issue as Windows Guest doesn't pick up correct Matrox driver & falls back on Microsoft generic one, but that's not the urgent problem) with Virtualbox VM shared folder as /home/winusers/

What we want to do is that whenever we create users in Windows Server AD, eg. user1, it should create user identification files on CentOS host OS AND assign it access to /home/winusers/user1 folder.

At the moment we are able to login user on Windows AD and have corresponding user created on Linux, but unable to automatically login them on Linux the 1st time. We have to manually create /home/winusers/username1 on Linux the 1st time. Next time they login into AD, they get access to /home/winusers/username1 automatically.

Any other methods of doing this?

If I have posted this incorrectly on the wrong group, accept my apologies, this is my 1st post to the group and I have been learning Linux (I guess everyone keeps learning Linux as there is so much more to learn with the vast and depth of Linux capabilities).

Warm Regards

Mangesh
 
Old 07-29-2014, 02:21 AM   #2
LeoPap
Member
 
Registered: Jan 2013
Distribution: Centos
Posts: 99
Blog Entries: 1

Rep: Reputation: 10
Hello Mangeshs,

Welcome to the forum! If i understand correct, you want when someone creates a user at the Windows Server, automatically to copy this user at your Linux server, right? What is the project?
 
Old 07-29-2014, 02:22 AM   #3
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
You probably want to use SAMBA(4) to manage AD. This way, student logins are authenticated by SAMBA; they can use Office from the Windows server, and everything else on the Linux servers.

Another alternative is to forego Office entirely and use Libre Office on Linux.
 
Old 07-29-2014, 12:26 PM   #4
mangeshs
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your quick replies.

LeoPap: That is what I want; user files and storage should be stored in Linux SAMBA server. It should be like creating an active directory user with default user configuration files (I believe under c:\users\USERNAME currently) and default home folder on Linux Box eg. \\LINUXBOX\HOME\USERNAME when I create AD user. Project is making a school computer lab where we need students to login and use Windows environment to learn MS Office and related software on Windows environment. We use VirtualBox to make high availability VM.

notKlaatu: I tried installing SAMBA 4 on my current configuration, failed. My current default setup: CentOS 6.5, SAMBA 3.x.

Quick help appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Create user automatically via php web form checkmate3001 Linux - Server 3 01-23-2013 10:49 PM
Shell script to automatically login through ssh and create user Sayan Acharjee Linux - General 10 10-21-2010 01:51 AM
create linux group & user when SELinux enforcing kirukan Linux - Security 5 05-05-2009 02:44 PM
Samba: automatically create a domain user's home directory sfoo Linux - Newbie 1 03-04-2008 03:26 PM
create a spam & antivirus linux filter for Exchange Server balki Linux - Software 1 09-01-2004 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration