Quote:
Originally Posted by vjlxmi
Request help with following problem that has been troubling me since a month:
I have a CentOS ver 6.3 server as Host OS. On top of it I have a Virtualbox on which Guest OS Windows 2012 VM has been running. I want to set up a single sign-in in a way in which I sign-in to Windows Server using terminal clients (Ncomputing L300) but data of each user should be stored on CentOS host directories and not within VM.
I am able to join the domain on Windows 2012, I am able to do single sign on when I create user in Windows AD. User also gets access to Host OS (CentOS) shared folder but I am facing following problems:
1) Everyday when server starts in morning, I need to rejoin the domain with command:
"net join ads -U Administrator -S name.domain.extention"
it prompts for password and if given it joins the domain successfully and I need to restart the winbind services with command
"service winbind restart"
I want to get rid of these command entering routine.
|
Ok, so write a script to perform these steps, and have it run after the system is booted. A brief look at the CentOS documentation tells you how to do this:
https://www.centos.org/docs/5/html/I...-run-boot.html
Put the command(s) in there.
Quote:
2) The users I create can login to Windows 2012 AD, but their home directory is not getting created automatically in CentOS host, unless I first physically sign on directly on CentOS. I want the folders to be created automatically as we create default user folder path in Windows Server.
|
So tell the system to create the directories. A look at the documentation leads you to:
Code:
authconfig --enablemkhomedir --update
There are also other things/programs you can check:
http://www.dalemacartney.com/2012/07...ries-in-linux/
But start with the AD configuration on the Linux system. There are options to create the users home directories, and unless you enable them, it won't work.
Quote:
3) My folders like Desktop, My Documents, Favourites, Profile (folder redirection for roaming profiles) are not getting redirected on user's shared folder on CentOS host. I need the folder to automatically reside on CentOS host directory specified.
|
...because you don't have the folders/home directory created, so there's no where for them to go.
Quote:
Need urgent help. I am not a Linux Pro / Expert so please pardon my naivety. Thank you in advance.
|
Please see the posting guidelines...this is a volunteer forum..NOTHING is 'urgent' here for ANYONE, and asking for/expecting 'urgent' help is fairly rude.