[Samba] Re: pam_mkhomedir.so not working.
linuxaddict7 at gmail.com
Tue Feb 26 14:24:18 GMT 2008
On Mon, Feb 25, 2008 at 10:56 PM, Brian May <bam at snoopy.apana.org.au> wrote:
> >>>>> "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() =
> 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.
I would assume that the process is winbind and it running as root.
think of anything else.
> You haven't stated how your users login. ssh? If so the issue maybe
> the new security model openssh has.
Its the same case for both su and ssh. When I pushed the package for
25 hosts, only 5 hosts are having issues. I spent a lot of time
investigating, but no light in sight yet.
> Brian May <bam at snoopy.apana.org.au>
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba