[Samba] pam_mount permissions

David Leuser II dleuser at newhampton.org
Sat Sep 21 14:12:01 GMT 2002


Has anyone gotten back to you about this yet?  I just got over the
headache of trying the same thing myself... the only way i could get X to
work was to set dmask=0777 (which pam mount will allow you to do in your
pam_mount.conf)... make sure you have the latest version of pam_mount,
there are a few old ones floating around out there.  

This solution was lousy in my case, because I'm running a terminal system,
and everyone would be able to open everyone elses home directory, even
accidentally, with those permissions!  Someone from a Gnome conference
told me the latest version of GDM (2.4.x?) fixes this problem, though i
haven't yet tried it...

... i ended up using a batch script to generate all the domain users home
dirs on the linux box, including a mount point inside the linux home dir,
from which i use pam_mount to mount their SMB home-dir files...  I think
this is actually a better solution anyway, as GDM (in my case) and other
linux programs like Open office create files in the home dir that many of
our users are apt to delete or otherwise break when they see them in their
regular file folder :-)

HTH

cj at itonsite.com.au writes:
G'day All

Thank you to every one who has helped me get pam_mount and winbind working.

I can now use winbind to use the passwords from a samba HEAD PDC to do
authentications and pam_mount to mount the users home directory.
YAY

Does any one know what the option is to change the permissions on a mounted
directory in pam_mount?
at present it gives me rwxr-xr-x, which is fine.
But I run startx and it gives me a "cannot lock .Xauthority" message.
Im thinking is it the permissions that are wrong or would there be
something
else?


Thanks

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



________________________________________
David M. Leuser, II
Assistant Network Administrator
New Hampton School
(603) 744-3182 x121
dleuser at newhampton.org
________________________________________
"Picture the root account as a magic hat that gives you lots of power,
with which you can, by waving your hands, create or destroy entire cities.
Because it is easy to wave your hands in a destructive manner, it is not a
good idea to wear the magic hat when it is not needed, despite the
wonderful feeling. " -- Gnome User's Guide




More information about the samba mailing list