[Samba] RE: FW: samba woes

Johnston, Christopher (DCSA) cjohnston at exchange.ml.com
Thu Jun 27 11:03:36 GMT 2002


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:Michael.Gerdts at alcatel.com] 
Sent: Thursday, June 27, 2002 2:04 PM
To: Johnston, Christopher (DCSA)
Cc: 'Urban Widmark'; 'crh at umn.edu'; Stieglitz, Eric J. (DCSA); 'Jim McDonough'; samba-technical at samba.org; 'samba at samba.org'
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:urban at teststation.com]
> Sent: Wednesday, June 26, 2002 4:47 PM
> To: 'crh at umn.edu'
> Cc: Johnston, Christopher (DCSA); Stieglitz, Eric J. (DCSA); 'Jim McDonough'; samba-technical at samba.org; 'samba at samba.org'
> 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
> ...
> 







More information about the samba mailing list