[Samba] Re: pam_mkhomedir.so not working.

Brian May bam at snoopy.apana.org.au
Tue Feb 26 03:56:38 GMT 2008

>>>>> "Linux" == Linux Addict <linuxaddict7 at gmail.com> writes:

    Linux> mmap(NULL, 4096, PROT_READ|PROT_WRITE,
    Linux> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a98c46000 write(1,
    Linux> "Creating directory \'/home/DOM/"..., 44Creating directory
    Linux> '/home/DOM/user1'.  ) = 44 mkdir("/home/DOM/user1", 0700) =
    Linux> -1 EACCES (Permission denied) time([1203973003]) =
    Linux> 1203973003

I would guess that the process that is calling pam is not running as
root, and as such pam_mkhomedir won't work as currently written.

You haven't stated how your users login. ssh? If so the issue maybe
the new security model openssh has.
Brian May <bam at snoopy.apana.org.au>

More information about the samba mailing list