Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-25-2005, 08:30 PM   #1
Registered: Jun 2003
Location: Plymouth, Massachusetts
Distribution: CentOS, Slackware, Redhat, Ubuntu
Posts: 52

Rep: Reputation: 15
Automount NFS from LDAP info not working

I've been struggling to get this to work for some time. The OS is FDC4. I have the automounter mounting home directories from an NFS server using automount information in files. This works excellent.

User/group information comes from files and LDAP. I'm using the autofs.schema that comes with Fedora Core 4 under /etc/openldap/schema/redhat/autofs.schema.

My nsswitch.conf is setup for automount files ldap. I want to automount directories from the NFS server with info from the LDAP directory. Can't seem to get it right.

Can I have an auto.master both as a file and in LDAP without it causing problems?

My goal is to mount the NFS server /accounts/common directory on the client machines as /accounts/common.

Here is my LDAP context:

I have an entry:
Under this I have:
automountinformation:ldapu=auto.common,dc=klnc,dc=net --timeout=60

Under this I have

Any help would be appreciated.

Kent L. Nasveschuk
I get nothing
Old 07-26-2005, 08:32 AM   #2
Registered: Jul 2005
Distribution: Debian, Gentoo, self-built [not LFS]
Posts: 109

Rep: Reputation: 15
My best guess is that, since nsswitch.conf lists files ldap, it only goes to the LDAP if files fails. I'm not sure how you'd get to doing this using a combination of the two, unless you wanted to write a script to read from files maybe?
Old 07-26-2005, 01:04 PM   #3
Registered: Jun 2003
Location: Plymouth, Massachusetts
Distribution: CentOS, Slackware, Redhat, Ubuntu
Posts: 52

Original Poster
Rep: Reputation: 15
automount ldap problem

Thanks I'll try that but I'm not sure if that is the issue. I have files ldap for password, shadow group which allows a local or LDAP user to login. Also if you have an account that is in 2 locations either password wil work, for example root. I'll try your suggestion though and get back to you.

Kent N


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 -LDAP schemas naveenlinux SUSE / openSUSE 0 11-21-2005 12:37 AM
not able to automount files in nfs at startup time kool124 Linux - Networking 4 10-03-2005 11:04 AM
adding info to ldap chamkila Linux - General 5 08-14-2003 09:12 AM
automount nfs and smb al_erola Linux - Networking 2 04-27-2003 11:33 AM
NFS - Automount / Security Issues gene_gEnie Linux - Networking 0 02-08-2002 03:05 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:27 PM.

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