Results 1 to 3 of 3

Thread: Samba - ADS- Automatically Create home directories

  1. #1
    Join Date
    Jan 2010
    Beans
    12
    Distro
    Ubuntu 10.04 Lucid Lynx

    Samba - ADS- Automatically Create home directories

    At work, using SambaKerberos and ActiveDirectoryWinbindHowto, I joined my machine to our ADS network. Again using ActiveDirectoryWinbindHowto, I modified both common-account and common-auth with these settings.

    file: /etc/pam.d/common-account
    account sufficient pam_winbind.so
    account required pam_unix.so

    file: /etc/pam.d/common-auth
    auth sufficient pam_winbind.so
    auth sufficient pam_unix.so nullok_secure use_first_pass
    auth required pam_deny.so

    According the the doc, when I first log in as a domain user, it should create the home directiroy /home/<whateverdomain>/<theusername>, but it doesn't. Am I doing something wrong, did I miss something.

    Thank You
    Roberto

  2. #2
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: Samba - ADS- Automatically Create home directories

    Did you modify /etc/pam.d/common-session, as the guide I believe you were referring to instructed you to do?
    Code:
    session required pam_unix.so
    session required pam_mkhomedir.so umask=0022 skel=/etc/skel

  3. #3
    Join Date
    Jan 2010
    Beans
    12
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Samba - ADS- Automatically Create home directories

    Thanks, that was it. I guess I went through the doc a little to quickly

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •