Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-28-2003, 02:30 PM
|
#1
|
|
Member
Registered: Jun 2002
Posts: 50
Rep:
|
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
|
|
|
|
07-28-2003, 04:25 PM
|
#2
|
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
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
================================================
Last edited by Corin; 07-28-2003 at 04:26 PM.
|
|
|
|
07-28-2003, 05:12 PM
|
#3
|
|
Member
Registered: Jun 2002
Posts: 50
Original Poster
Rep:
|
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??
|
|
|
|
06-08-2004, 12:47 AM
|
#4
|
|
LQ Newbie
Registered: Jun 2004
Posts: 1
Rep:
|
I've started on a similar project here. Did you ever come across a solution?
|
|
|
|
06-10-2004, 10:57 AM
|
#5
|
|
Member
Registered: Jun 2002
Posts: 50
Original Poster
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:03 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|