Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!spool.mu.edu!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul From: wpaul@ctr.columbia.edu (Bill Paul) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Longer Usernames Date: 26 Feb 1996 17:54:45 GMT Organization: Columbia University Center for Telecommunications Research Lines: 49 Message-ID: <4gss55$2fp@sol.ctr.columbia.edu> References: <Dn8vKI.9A1@ritz.mordor.com> <4gns5m$i5h@park.uvsc.edu> <JESSE.96Feb26120505@csmd49.nntp.cs.UNI-Magdeburg.DE> NNTP-Posting-Host: startide.ctr.columbia.edu X-Newsreader: TIN [version 1.2 PL2] Daring to challenge the will of the almighty Leviam00se, Roland Jesse (jesse@hppool.cs.uni-magdeburg.de) had the courage to say: : In article <4gqiao$63v@sol.ctr.columbia.edu> wpaul@ctr.columbia.edu (Bill Paul) writes: : > : Oh my god, not that! :-) Does anyone really use NIS? : > : > They better after all the work I've been putting into it. :) : So, can you tell me what it means when ypbind complains that my NIS server : (a Sun machine) is not in my 'mode access list' ? What exactly is this list ? Read the error message again: it says 'restricted mode access list.' You are running ypbind with the -S flag. What you really want is the -s flag. Edit /etc/sysconfig and change the starup flags for ypbind to "-s" instead of "-S" and restart ypbind. Then it will work. Restricted mode lets you give ypbind a single domain and list of servers to use for binding: if the specify the -S flag and the appropriate arguments, ypbind will bind _only_ the one domain and it will bind _only_ to the servers specified in the list. It still broadcasts to find servers, but it only honors replies from the servers you specify. The syntax looks like this: # ypbind -S some.nis.domain,ypserver1,ypserver2,ypserver3 (Up to 10 server names can be specified.) Of course, if you use the -S flag with no arguments, it won't bind to anybody. :) This information may not be in the man page for the following reason: restricted mode was supposed to be new with FreeBSD 2.2, but it somehow slipped into the release tree a little early and got shipped with 2.1. Unfortunately, the changes to the man page that document the -S flag did not get pulled along for the ride. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= License error: The license for this .sig file has expired. You must obtain a new license key before any more witty phrases will appear in this space. =============================================================================