Solved

samba with ldap and home directories

Posted on 2011-03-17
3
442 Views
Last Modified: 2012-06-21
Dear Experts:

If samba domain controller is configured with fds/openldap as a passwd backend how to create the home directories for the users and make it to available for the users. Please help.
Thanks in advance.
0
Comment
Question by:D_wathi
  • 2
3 Comments
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 35163974
Hi!

Setup 'pam_mkhomedir' to create the home directories for you.
Ref: http://sheltren.com/selinux_pam_mkhomedir

More reading about OpenLDAP and PAM:
Ref: http://www.boosten.org/creating-my-own-ldap-directory-part-3/
Ref: http://www.rjsystems.nl/en/2100-openldap-client.php

Regards, Tobias
0
 

Author Comment

by:D_wathi
ID: 35165531
SIr, Thank you very much. in my case all the clients are of windows , the article provided by you is interesting and it holds good for linux as clients similarly i am looking for the windows clients , when the user login from windows system they should get their home directory, Please please help me to do so. Thanks in advance.
0
 
LVL 18

Accepted Solution

by:
TobiasHolm earned 500 total points
ID: 35168523
Hi!

You can find the answer under section: add user script (G)
in the following document: http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html

Regards, Tobias
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!

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now