[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

samba with ldap and home directories

Posted on 2011-03-17
3
Medium Priority
?
457 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month19 days, 17 hours left to enroll

873 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