LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-01-2010, 12:27 PM   #1
rbergen
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
automount 5.0.3 with auto.smb script yields "key "<name>" not found in map"


A few days ago, I've installed (emerged) autofs 5.0.3 on my Gentoo amd64 box, and tried to set it up to mount shares on a Windows XP box. I've used a modified auto.smb script that I found somewhere on the web, that does seem to output a valid map file. However, when I try to ls the /smb/topton directory (/smb being the autofs mount point, and topton the name of the XP box that I added to /etc/hosts), it yields the following message: ls: cannot access /smb/topton: No such file or directory.
At the same time, in /var/log/messages, the following message is entered: automount[10145]: lookup_nss_mount: key "topton" not found in map.

As far as I can tell, the auto.master file is correct and the auto.smb script yields the right output.

For your reference, the auto.master file looks like this:
Code:
/misc   /etc/auto.misc
/smb    /etc/auto.smb
The auto.smb script outputs the following when invoked like '/etc/auto.smb topton':
Code:
-fstype=cifs,credentials=/etc/auto.smb.credentials/topton \
         /E$ ://topton/E$ \
         /K ://topton/K \
         /D$ ://topton/D$ \
         /print$ ://topton/print$ \
         /C ://topton/C \
         /D ://topton/D \
         /L ://topton/L \
         /E ://topton/E \
         /ADMIN$ ://topton/ADMIN$ \
         /C$ ://topton/C$ \
         /I ://topton/I \
         /J ://topton/J
(Note: the /etc/auto.smb.credentials/topton file does exist, and contains valid credentials for the XP box.)

I've been kicking this problem in different ways for a few days now, and I can't seem to find what I am doing wrong.
Any pointers in the right direction are greatly appreciated!

Oh, a very happy 2010 to everyone!

Rutger
 
  


Reply

Tags
autofs, automount, samba, smb


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Enter Key" not working, how to map "Enter Key" functionality to "F9" Key srinihi Linux - Newbie 1 04-03-2009 02:46 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? munkey Linux - Newbie 3 05-03-2004 04:30 PM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? help munkey Fedora 6 04-30-2004 06:04 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM


All times are GMT -5. The time now is 05:08 PM.

Main Menu
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