vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm using the following autofs maps to import under NIS: auto_master: /home auto_home -nobrowse auto_home: user1 host1:/export/home/& user2 host1:/export/home/& user3 host1:/export/home/& After the import they look like this under NIS: ypcat auto.master auto_home -nobrowse ypcat auto.home host1:/export/home/& host2:/export/home/& host3:/export/home/& I don't understand how this works as under NIS the maps don't seem to be complete. The master map is missing the first field '/home' and the home map is also missing the first field: 'user1', 'user2', 'user3' With these missing fields the automounter seems to work on all the NIS clients along with the server - the correct home directory is mounted according to the username. How do autofs maps work under NIS? Thanks |
| |||
| In <1183864868.111751.138380@57g2000hsv.googlegroups. com> sgsnewsgrp@gmail.com writes: >I'm using the following autofs maps to import under NIS: >auto_master: >/home auto_home -nobrowse >auto_home: >user1 host1:/export/home/& >user2 host1:/export/home/& >user3 host1:/export/home/& >After the import they look like this under NIS: >ypcat auto.master >auto_home -nobrowse >ypcat auto.home >host1:/export/home/& >host2:/export/home/& >host3:/export/home/& Try `ypcat -k' if you want to see the keys. Some NIS maps duplicate the keys into the values for historical reasons. This one doesn't. -- -Gary Mills- -Unix Support- -U of M Academic Computing and Networking- |