[Samba] Making winbindd and pam_mount play nice together (2nd try)

John Simovic jsimovic at rydesc-h.schools.nsw.edu.au
Fri May 30 08:55:06 GMT 2003


My problem is that I am using rh 8 and cannot winbind to authenticate users. wbinfo returns all users and groups and getent passwd works but no joy!!!!!!!!!

On Thu, 29 May 2003 17:33:14 -0500
Bradley Wendelboe <bradley.wendelboe at polarisind.com> wrote:

> Yes, I'm going to individual shares.  It seems that pam_mount is not getting
> the password information from the PAM system.  I've contacted the author of
> pam_mount and will share any results.  
> 
> So far:
> 
> Several people are trying to get pam_mount working with winbind.  I don't
> have a winbind setup myself, so it is difficult for me to debug.  Please be
> patient.
> 
> The only hypothesis I have at this point revolves around pam_mounts use of
> functions like getpwnam to retrieve information about a user's account.  
> Theoretically, if one configures /etc/nsswitch.conf correctly, getpwnam can
> use services besides /etc/passwd (ie: winbind) to answer questions about a
> user.  
> Pam_mount uses getpwnam to do the following:
> 
> 1.  Determine where ~/.pam_mount.conf is.
> 
> 2.  Determine the UID and GID that should own a mount point created by 
> pam_mount.
> 
> 3.  Determine the UID and GID that should own a user's session count file 
> (/var/run/pam_mount/<user>).
> 
> 4.  Ensure a user owns mount points and volumes for volumes defined by 
> ~/.pam_mount.conf.
> 
> The only other suspect action I can think of is pam_mount's retrieval of a 
> user's password from the PAM system.  I don't think this should be an issue
> if you use pam_winbind to authenticate users.
> 
> Do any of these hints help?
> -----Original Message-----
> From: John Simovic [mailto:jsimovic at rydesc-h.schools.nsw.edu.au] 
> Sent: Friday, May 30, 2003 3:21 AM
> To: samba at lists.samba.org
> Subject: Re: [Samba] Making winbindd and pam_mount play nice together (2nd
> try)
> 
> Are you folders shared on the windows side. The individual folders need to
> be shared, not a level above apparently.
> 
> On Thu, 29 May 2003 14:09:35 -0500
> Bradley Wendelboe <bradley.wendelboe at polarisind.com> wrote:
> 
> > I'm also trying to get this working with the same results on RH 9/Samba
> > 2.2.7a/pam_mount 0.9.1
> > 
> > Bradley
> > 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> **********************************************************************
> This message is intended for the addressee named and may contain
> privileged information or confidential information or both. If you
> are not the intended recipient please delete it and notify the sender.
> **********************************************************************
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************



More information about the samba mailing list