# autofs and ncp

**URL:** <https://forums.suse.com/t/autofs-and-ncp/23350>\
**Category:** SLES Networking\
**Created:** [November 28, 2012, 3:29pm UTC](https://forums.suse.com/t/autofs-and-ncp/23350 "2012-11-28T15:29:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbrinkmann](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@tbrinkmann](https://forums.suse.com/u/tbrinkmann)\
**Post date:** [November 28, 2012, 3:29pm UTC](https://forums.suse.com/t/autofs-and-ncp/23350/1 "2012-11-28T15:29:44Z")

</div>

Hi,  
iÂ´m trying to use autofs to mount ncp share.

1. I can use fstab with a passwdfile to mount my test folder /nwtest no problem here
2. I try to use auto first configure /etc/auto-mast  
echo "/nwtest /etc/auto.net \>\> /etc/auto.master
3. I create the [auto.net](http://auto.net) file  
Question1: What is identifier in the [auto.net](http://auto.net) file the mount point ?

`nwtest -fstype=ncp defaults,mode=777,ipserver=testpool1,nonfs,uid=root,uid=root,owner=root,volume=TESTVOL1,passwdfile=/etc/edir-passwords,multiple,timeout=900 0 0
`

? Or what autofs needs to know for the first word(nwtest) ? the mountpoint or the networkshare name ?  
4. The password file  
Q2 What is the identifier here if i use fstab i used the share name

/etc/fstab/–\>testpool1/.admin.test /nwtest ncp defaults,passwdfile=/etc/edir-passwords  
etc/edir-passwords–\>nwtest/.admin.test:SOMEPASSWORD

5.Q3 Does autofs need fstab entrys ?

Thanks for help  
\*T

---

<div class="post-metadata">

**Author:** ![tbrinkmann](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@tbrinkmann](https://forums.suse.com/u/tbrinkmann)\
**Post date:** [November 30, 2012, 1:06pm UTC](https://forums.suse.com/t/autofs-and-ncp/23350/2 "2012-11-30T13:06:38Z")

</div>

Question1: What is identifier in the [auto.net](http://auto.net) file the mount point ? in this case /nwtest right ?

A: Yes, Autofs uses the /nwtest folder now to mount all subfolder configured in auto.direct

Q2 What is the identifier here if i use fstab i used the share name

A: The subfolder that used for mount e.g nwtest/testmount

Q3 Does autofs need fstab entrys ?

A:No
