Solved

samba with ldap and home directories

Posted on 2011-03-17
3
445 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

790 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