LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-28-2003, 03:30 PM   #1
acb67
Member
 
Registered: Jun 2002
Posts: 50

Rep: Reputation: 15
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
 
Old 07-28-2003, 05:25 PM   #2
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 30
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 05:26 PM.
 
Old 07-28-2003, 06:12 PM   #3
acb67
Member
 
Registered: Jun 2002
Posts: 50

Original Poster
Rep: Reputation: 15
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??
 
Old 06-08-2004, 01:47 AM   #4
ricdur0
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
I've started on a similar project here. Did you ever come across a solution?
 
Old 06-10-2004, 11:57 AM   #5
acb67
Member
 
Registered: Jun 2002
Posts: 50

Original Poster
Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automount dvd/cd & ipod not working santaliqueur Linux - General 3 10-01-2005 12:25 PM
Autofs and automount socks Linux - Software 0 07-20-2004 01:28 PM
Mounting samba windoze shares using autofs Rounan Linux - Software 2 12-05-2003 06:08 PM
Setting up automount with autofs smattbac Slackware 0 10-12-2003 09:51 AM
how to make a desktop link & automount xprometeus Linux - Newbie 6 07-19-2003 07:19 PM


All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration