LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba & autofs (automount) (https://www.linuxquestions.org/questions/linux-networking-3/samba-and-autofs-automount-76685/)

acb67 07-28-2003 02:30 PM

samba & autofs (automount)
 
Hi all,

I have finally gotten the NT authentication working and I would like to mount users' home drives via samba. We currently have auto.master pointing to the location of the home folders, but they are mounted via NFS, and we don't want this.

I have been looking around for info on this, but can't seem to find a specific answer. Is there some sort of setting that can be enabled to let this happen?

Thanks,
Aaron

Corin 07-28-2003 04:25 PM

Well unless you want to set up smbount entries for every user in the autofs mount maps, (how many users are there?), then you should follow the instructions in the htmldocs/smb.conf.5.html under /usr/share/doc for the samba package installed on your system which you have not specified.

But somehow I fear you may not like the method of achieving what you want to do.

===============================================

nis homedir (G)

Get the home share server from a NIS map. For UNIX systems that use an
automounter, the user's home directory will often be mounted on a
workstation on demand from a remote server.
When the Samba logon server is not the actual home directory server, but
is mounting the home directories via NFS then two network hops would be
required to access the users home directory if the logon server told the
client to use itself as the SMB server for home directories (one over SMB
and one over NFS). This can be very slow.
This option allows Samba to return the home share as being on a different
server to the logon server and as long as a Samba daemon is running on
the home directory server, it will be mounted on the Samba client
directly from the directory server. When Samba is returning the home
share to the client, it will consult the NIS map specified in homedir map
and return the server listed there.
Note that for this option to work there must be a working NIS system and
the Samba server with this option must also be a logon server.
Default: nis homedir = no

================================================

acb67 07-28-2003 05:12 PM

We do not use NIS. Ideally, I would like to implement something that could be used for a large number of users. Currently, I am running Samba3. The current infrastructure that we have for Linux is a separate LDAP server with users stored there with corresponding home folders. The home drive info is not stored in the LDAP server...the auto.home takes care of this upon login via NFS. The problem is that NFS has some major security issues and we cannot use it. So the plan is to samba mount the drives instead of NFS. Does that sound possible?

I just got NT authentication to work on the boxes, so we would ideally like to be able to get our home folders using the same credentials that we used for login. We don't want to have to keep retyping passwords or anything like that. We want single-sign on. Am I living in a dreamland? Is this possible??

ricdur0 06-08-2004 12:47 AM

I've started on a similar project here. Did you ever come across a solution?

acb67 06-10-2004 10:57 AM

Not completely. We have gotten AD authentication working on all machines, and we have a separate LDAP that contains the automount information. Therefore using Kerberos and pam, the user is able to login, and through ldap they get their home folder. I havent been able to find a way to totally integrate everything yet. Any ideas?


All times are GMT -5. The time now is 04:19 AM.