Solved

samba with ldap and home directories

Posted on 2011-03-17
3
451 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

688 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