The tough part is knowing all the file server the users are on.. we have over 2 dozen 
file servers I believe.. 

Christopher Johnston
Merrill Lynch / DCSA
(201) 671-2368
http://linux.worldnet.ml.com
 


-----Original Message-----
From: Mike Gerdts [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 27, 2002 2:04 PM
To: Johnston, Christopher (DCSA)
Cc: 'Urban Widmark'; '[EMAIL PROTECTED]'; Stieglitz, Eric J. (DCSA); 'Jim McDonough'; 
[EMAIL PROTECTED]; '[EMAIL PROTECTED]'
Subject: RE: FW: samba woes


The automount map below could be simplified using the macros used by
automountd:

*       -fstype=smbfs,credentials=/etc/samba/&,uid=&

Whether you have 1 user or 100,000 users, all you should need is this one line.  This 
is documented on Linux in autofs(5) and on Solaris in automount(1M).

Mike

On Thu, 2002-06-27 at 10:55, Johnston, Christopher (DCSA) wrote:
> Yea I have tried using the automount.. the tough thing is.. we have 
> alot of users.. so maintaing an auto-map can be really tough..
> 
...
> -----Original Message-----
> From: Urban Widmark [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 4:47 PM
> To: '[EMAIL PROTECTED]'
> Cc: Johnston, Christopher (DCSA); Stieglitz, Eric J. (DCSA); 'Jim McDonough'; 
>[EMAIL PROTECTED]; '[EMAIL PROTECTED]'
> Subject: Re: FW: samba woes
> 

...

 
> You can give only a single user access to the mount. But it will be visible to 
>others (inaccessible perhaps, but visible).
> 
> An autofs map for /home looking like this could be a starting point:
> username1     -fstype=smbfs,credentials=/etc/samba/cred1,uid=username1 \
>       ://server/share
> username2     -fstype=smbfs,credentials=/etc/samba/cred2,uid=username2 \
>       ://server/share
> ...
> 




Reply via email to