Samba and NetInfo and NIS and LDAP and ... (fwd)

Gerald W. Carter cartegw at Eng.Auburn.EDU
Tue Apr 7 14:45:04 GMT 1998


Luke Kenneth Casson Leighton wrote:
> 
> > And finally, I though it might be a good idea to parse not only the
> > printcap (or the equivalent in SYSV) but also /etc/exports or
> > /etc/dfs/dfstab to 'automagically' set up the same 'shares' as the
> > server provides as nfs!
> 
> you haven't actually _done_ this already, have you?  if so, totally
> wicked!
> 

IMHO I would prefer to be able to turn the mechanism off.  One or the
reasons that we wanted to switch from NFS to SMB was the finer
granularity of control that smb server ( such as samba offers ). 

Normally with NFS you export a top level directory and then clients
mounts various subdirectories.  You can do this with SMB.  Of course you
can do things like "dir \\server\share\directory" but not things like
"net use x: \\server\share\directory".  Think of it like this.  Here's
an entry from a standard Solaris type /etc/dfs/dfstab

	share -F nfs -o rw=clients -d "Home dirs" /export/home

Then this is placed in the automount maps so athat things like 
"cd ~username" work correctly.  If you automatically make a share out
the NFS export, users can then go "net use x: \\server\homedir" and get
a top level listing of all the home directories.

By now you are probably thinking "Yeah but the standard unix permissions
still apply" and I agree, but why give user's access to this type of
thing if they don't need it?

Just my two cents....



j- 
________________________________________________________________________
                            Gerald ( Jerry ) Carter	
Engineering Network Services                           Auburn University 
jerry at eng.auburn.edu             http://www.eng.auburn.edu/users/cartegw

       "...a hundred billion castaways looking for a home."
                                  - Sting "Message in a Bottle" ( 1979 )


More information about the samba-technical mailing list