Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: samba / posix zimlet home directory creation

  1. #11
    Join Date
    May 2008
    Des Moines, IA
    Rep Power

    Default I'm not sure why, but...

    Quote Originally Posted by weigenmann View Post
    Down at Edit /etc/pam.d/common-session where you are asked to insert
    session required skel=/etc/skel umask=0077

    When I insert the above line into /etc/pam.d/samba instead it does actually create the users home directory without the work around.
    I've attempted to add the line as well. It didn't work for me. It appears we are using the same OS (Cent OS 5 x86_64) so I'm not sure what the difference is.

    We've reviewed my last posting though and found error in it. Here's where I am now...

    # This file is auto-generated.
    # User changes will be destroyed the next time authconfig is run.
    auth        required
    auth        sufficient nullok try_first_pass
    auth        requisite uid >= 500 quiet
    auth        sufficient use_first_pass
    auth        required
    account     required broken_shadow
    account     sufficient uid < 500 quiet
    account     [default=bad success=ok user_unknown=ignore]
    account     required
    password    requisite try_first_pass retry=3
    password    sufficient md5 shadow nullok try_first_pass use_authtok
    password    sufficient use_authtok
    password    required
    session     optional revoke
    session     required
    session     optional
    session     [success=1 default=ignore] service in crond quiet use_uid
    session     required
    session     optional
    Most of the essential rows and columns have been isolated and tested in this file. The one that seems to hold everything up has been tagged.

    This file is auto-generated as the comment implies. After each testing of authconfig you should:
    a) change all 'sufficient' to 'required' and
    b) comment out OR delete the line in question.
    c) test it
    Personally, I've backed up mine and restore if I need to run authconfig again. All I will say is that it works for me
    Now, for the benefits. As this file is now more flexible than in my original posting, it still satisfies the same requirements:
    1) my test users can login via the samba domain
    2) their home directories are created automatically
    3) the server can still find it's self when starting (after a reboot) and boot normally
    4) you can still login as root
    ...but now does not require any further changes to any other PAMs.

    I am still not an expert with PAM.
    Last edited by todd_dsm; 10-25-2009 at 09:38 PM.

  2. #12
    Join Date
    May 2008
    Rep Power

    Default Worked for me.

    The mk_sambahomedir script worked for me. Disalbed the PAM option as seeing no result.


Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. [SOLVED] upgrading to latest 4.5 release
    By ak2009 in forum Installation
    Replies: 6
    Last Post: 01-17-2009, 08:08 AM
  3. Outlook 2007 Beta error
    By bersrker in forum Zimbra Connector for Outlook
    Replies: 13
    Last Post: 07-17-2008, 07:38 AM
  4. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM

Posting Permissions

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