[Samba] RE: FW: samba woes

Johnston, Christopher (DCSA) cjohnston at exchange.ml.com
Thu Jun 27 12:09:04 GMT 2002

Yea.. it would be nice if there was a way to access each the users profile..which would than give the users file server and share... is there a way?


Christopher Johnston
Merrill Lynch / DCSA
(201) 671-2368

-----Original Message-----
From: Urban Widmark [mailto:urban at teststation.com] 
Sent: Thursday, June 27, 2002 2:58 PM
To: Johnston, Christopher (DCSA)
Cc: 'Mike Gerdts'; Stieglitz, Eric J. (DCSA); 'samba at samba.org'
Subject: RE: FW: samba woes

[Cc list trimmed]

On Thu, 27 Jun 2002, Johnston, Christopher (DCSA) wrote:

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

You could use one such map for each server, but yes you need to know who is on first (what's on second ...)


The autofs stuff could perhaps look something like this.

/home/server1	/etc/auto.server1	--timeout=60
/home/server2	/etc/auto.server2	--timeout=60

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

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

And the homedirs of the users are stored in whatever it is you are using to store info on users in. For /etc/passwd:


I think knowing which server holds the homedir of which user is something you will need to know, one way or the other, no matter what you do.

Even if you have one server that is a DFS server isn't that server going to keep things in per-server subdirectories? Or perhaps you can have one DFS server that exports "/home" with each users
homedir is a DFS referralpoint (or whatever they are called).

And with 10000 users you'd have 10000 referralpoints. Won't accessing that be a bit costly?

Note that to build that DFS share you are still going to have to know where each users home directory is ...

> -----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=&

Didn't know that. Seems far too simple ... :)


More information about the samba mailing list