All of lore.kernel.org
 help / color / mirror / Atom feed
* smbfs credentias
@ 2005-01-05 12:16 abo
  2005-01-05 18:34 ` Jeff Moyer
  0 siblings, 1 reply; 5+ messages in thread
From: abo @ 2005-01-05 12:16 UTC (permalink / raw)
  To: autofs

hi!

im trying to mount smbfs resources from an ldap

if i put in nisMapEntry this

-fstype=smbfs,credentials=/home/abo/smb.creds

everything is working right. then i want to do it per user but variable
substitution doesn't work, i tried:

-fstype=smbfs,credentials=/home/$USER/smb.creds

-fstype=smbfs,credentials=/home/${USER}/smb.creds

-fstype=smbfs,credentials=~/smb.creds

but no succes.

how can i get per user credentiasl? im on the wrong direction?

thx

abo

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: smbfs credentias
@ 2005-04-04 20:27 Craig Schreiner
  2005-04-05  3:00 ` Ian Kent
  2005-04-05 12:09 ` Greg Wooledge
  0 siblings, 2 replies; 5+ messages in thread
From: Craig Schreiner @ 2005-04-04 20:27 UTC (permalink / raw)
  To: autofs

> From: Jeff Moyer jmoyer at redhat.com
> Date: Wed Jan 5 10:34:18 PST 2005
>
> ==> Regarding [autofs] smbfs credentias; abo <abo at brujulatelecom.com> adds:
>
> abo> hi!  im trying to mount smbfs resources from an ldap
>
> abo> if i put in nisMapEntry this
>
> abo> -fstype=smbfs,credentials=/home/abo/smb.creds
>
> abo> everything is working right. then i want to do it per user but
> abo> variable substitution doesn't work, i tried:
>
> abo> -fstype=smbfs,credentials=/home/$USER/smb.creds
>
> abo> -fstype=smbfs,credentials=/home/${USER}/smb.creds
>
> abo> -fstype=smbfs,credentials=~/smb.creds
>
> abo> but no succes.
>
> abo> how can i get per user credentiasl? im on the wrong direction?
>
> The automounter runs as user root.  It has no way of knowing which user
> requested a given mount.
>
> -Jeff

Wow, I'm really surprised that there isn't some mechanism to support multiple users?  While this credential mechanism might be okay for a test lab or a single user LAN, but what do people do in a business/enterprise environment?

Is there anyway to force the automounter to prompt for username and password?

Maybe I should ask, why is there no way of the automounter knowing which user is requesting a given mount?  I mean no disrespect, but does anyone else think this is a design limiting security risk implementation when automounting smbfs types?

--z

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-05 12:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-05 12:16 smbfs credentias abo
2005-01-05 18:34 ` Jeff Moyer
  -- strict thread matches above, loose matches on Subject: below --
2005-04-04 20:27 Craig Schreiner
2005-04-05  3:00 ` Ian Kent
2005-04-05 12:09 ` Greg Wooledge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.