All of lore.kernel.org
 help / color / mirror / Atom feed
* Autofs question (try 2)
@ 2004-01-13 20:41 Robin Rosenberg
  2004-01-14 15:47 ` raven
  0 siblings, 1 reply; 3+ messages in thread
From: Robin Rosenberg @ 2004-01-13 20:41 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi,

The first message was cut short, sorry

I grabbed the auto.smb script for mounting samba/windows shares. One of the flaws is that I'd
like to get around is that it must be configured as root and most importantly that I don't see who 
is requesting the mount. I was thinking along the line of mounting shares in /cifs/$USER/servers/share
or simply mounting the share for the first user using the mount point (essentially single user machines
anyway).

the auto.smb script is running as root and I printed some info in root.c at the revalidate

Jan 12 18:49:06 h6n2fls33o811 kernel: autofs4_root_revalidate, uid=505 name=10.1.1.4
Jan 12 18:49:06 h6n2fls33o811 automount[22233]: attempting to mount entry /cifs/10.1.1.4
Jan 12 18:49:06 h6n2fls33o811 kernel: autofs4_root_revalidate, uid=0 name=10.1.1.4
Jan 12 18:49:06 h6n2fls33o811 logger: uid=0(root) gid=0(root) grupper=0(root)
Jan 12 18:49:07 h6n2fls33o811 kernel: autofs4_root_revalidate, uid=0 name=10.1.1.4
Jan 12 18:49:08 h6n2fls33o811 last message repeated 10 times
and lots more from mounting with uid=0

Is there any simple way of passing the first uid to the automounter?

-- robin


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

* Re: Autofs question (try 2)
  2004-01-13 20:41 Autofs question (try 2) Robin Rosenberg
@ 2004-01-14 15:47 ` raven
  2004-01-14 16:03   ` Robin Rosenberg
  0 siblings, 1 reply; 3+ messages in thread
From: raven @ 2004-01-14 15:47 UTC (permalink / raw)
  To: Robin Rosenberg; +Cc: Linux Kernel Mailing List


The place for this is on the autofs list.

http://linux.kernel.org/mailman/listinfo/autofs

Short answer to your question is I don't think so. At least at the moment. 
I would have to check it out.

What version of autofs are you using?

On Tue, 13 Jan 2004, Robin Rosenberg wrote:

> Hi,
> 
> The first message was cut short, sorry
> 
> I grabbed the auto.smb script for mounting samba/windows shares. One of the flaws is that I'd
> like to get around is that it must be configured as root and most importantly that I don't see who 
> is requesting the mount. I was thinking along the line of mounting shares in /cifs/$USER/servers/share
> or simply mounting the share for the first user using the mount point (essentially single user machines
> anyway).
> 
> the auto.smb script is running as root and I printed some info in root.c at the revalidate
> 
> Jan 12 18:49:06 h6n2fls33o811 kernel: autofs4_root_revalidate, uid=505 name=10.1.1.4
> Jan 12 18:49:06 h6n2fls33o811 automount[22233]: attempting to mount entry /cifs/10.1.1.4
> Jan 12 18:49:06 h6n2fls33o811 kernel: autofs4_root_revalidate, uid=0 name=10.1.1.4
> Jan 12 18:49:06 h6n2fls33o811 logger: uid=0(root) gid=0(root) grupper=0(root)
> Jan 12 18:49:07 h6n2fls33o811 kernel: autofs4_root_revalidate, uid=0 name=10.1.1.4
> Jan 12 18:49:08 h6n2fls33o811 last message repeated 10 times
> and lots more from mounting with uid=0
> 
> Is there any simple way of passing the first uid to the automounter?
> 
> -- robin
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


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

* Re: Autofs question (try 2)
  2004-01-14 15:47 ` raven
@ 2004-01-14 16:03   ` Robin Rosenberg
  0 siblings, 0 replies; 3+ messages in thread
From: Robin Rosenberg @ 2004-01-14 16:03 UTC (permalink / raw)
  To: raven; +Cc: Linux Kernel Mailing List

onsdagen den 14 januari 2004 16.47 skrev raven@themaw.net:
> The place for this is on the autofs list.
>
> http://linux.kernel.org/mailman/listinfo/autofs
>
> Short answer to your question is I don't think so. At least at the moment.
> I would have to check it out.
>
> What version of autofs are you using?

Ok, i'll report the question there. It is version 4.0.0 (Mandrake Cooker) in userland 
and whatever is in the 2.6.1 vanilla kernel.

-- robin


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

end of thread, other threads:[~2004-01-14 16:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-13 20:41 Autofs question (try 2) Robin Rosenberg
2004-01-14 15:47 ` raven
2004-01-14 16:03   ` Robin Rosenberg

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.