Creating AD home directories automatically
09-05-2012 05:56 PM - edited 09-05-2012 06:01 PM
Using Centrify Express with Centrify Samba
I edited centrifydc.conf as follows, expecting it to create the user home directories automatically. Am I misreading something, or forgetting a parameter?
pam.homedir.create.mesg: Created home directory
This is what happens in the following scenarios:
User logs on the server via ssh. Home directory is created.
User logs on to the samba share via Windows Explorer/etc. Home directory is not created.
Ideally I need scenario B to work and create the home directories, as it will be hard getting all the users logging onto the server, or creating the folders manually.
Solved! Go to Solution.
09-05-2012 06:54 PM
Someone asked same question before and you can find the solution via this link.
Please let us know if it works for you.
09-05-2012 08:34 PM
Thank you, this worked perfectly.
So does Centrify Samba not use PAM at all? And if no, will it ever be configured to do so?
09-07-2012 08:13 AM
Thanks for using Centrify.
Let me explain the value added benefits Centrify provides to Samba before answering your question. Centrify enhances Samba in the following ways:
- Easy Installation. Easy to use script to install and configure Samba.
- Proper computer account password syncrhonization between Centrify and Samba since both agents will be communicating to AD with the computer account password.
- ID mapping module capabilities. This assures that when users copy files from Windows systems that users get the appropriate UNIX permissions
Beyond that, the behavior of the Centrify enabled Samba is the same as the stock version of Samba.
Therefore what I would recommend is that you post your question to the Samba forum and ask if there are any plans to have Samba use PAM. If Samba does use PAM one day, the Centrify enabled will as well.
Hope this helps,
Technical Manager - New York, Mid Atlantic, LATAM
Found my response helpful? Click the Kudos button!