Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'd like to load some automounter maps from NIS. I don't need to set up authentication, I just want to enable NIS as a data source, and hook it up the automounter.

$ cd etc
$ grep + /etc/auto_master
+auto_master  # Use directory service
$ ypcat -k auto_master
No such map auto_master. Reason: Request arguments bad
$ ypwhich
can't clntudp_create: Can't communicate with ypbind

P.S. I would like to create a new NIS tag, but I can't yet.

I found this: still trying it: http://superuser.com/questions/163807/setting-up-nis-nfs-on-mac-os-10-6

Not sure if I need to reboot after using DirectoryUtility.app

share|improve this question
2  
What is NIS? (15 chars) –  Fake Name Oct 26 '11 at 7:02
1  
NIS is an older directory service, which is used to facilitate logging in with one account to multiple workstations. –  Alex Reynolds Dec 25 '11 at 11:39
    
"ypbind" is the server which the clients tries to talk to. –  Thorbjørn Ravn Andersen May 1 '13 at 16:07
add comment

1 Answer

I just set the domain name once as root (using sudo) and launchd has launched ypbind for me ever since. The man pages for yp and ypbind might come in handy.

Is /etc/defaultdomain set? You could issue a ypbind -ypset to see if any servers are responding but it's better to have a list of masters and slaves laid out in /private/var/yp/binding/DOMAINNAME.ypservers

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.