Sponsored Content
Full Discussion: NIS trouble
Top Forums UNIX for Advanced & Expert Users NIS trouble Post 11036 by wizard on Tuesday 27th of November 2001 06:16:47 PM
Old 11-27-2001
The first step is to ypcat the NIS group file on all machines and make sure the NIS group file is seen everywhere. If it isn't, make sure ypbind is running and that each machine is bound to an NIS server using ypwhich. As for the ypxfer, assuming you haven't mucked around with the Makefile in /var/yp, the timestamps on the group source and the dbm group maps (i.e. group.bygid, etc.) determines if the map is pushed out or not. Try using the touch command to update the timestamp on the group source file and then use make in /var/yp to push it out. If it still doesn't push, please give the exact error message here and we will try to figure it out.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris NIS+ and RedHat NIS+

Hello all, I'm not sure if this is the right forum, but I would like to know if Redhat running NIS ( not NIS +) would have conflict with Solaris running NIS+. Currently I am running NIS+ on Solaris but will be adding RedHat to the network. I seem to be unable to find and information regarding... (2 Replies)
Discussion started by: larry
2 Replies

2. IP Networking

differences nis nis+

Hello together. Is there someone who is able to explain me the differences between NIS and NIS+. thanks in advance joerg (2 Replies)
Discussion started by: joerg
2 Replies

3. UNIX for Dummies Questions & Answers

NIS map mail.aliases specified, but NIS not running

Hi all, I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following, "NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies

4. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

5. Solaris

nis

i want to dedicate my nis client system to some perticler group users. how can it possible on solaris. (0 Replies)
Discussion started by: nag.mi2000
0 Replies

6. Solaris

nis

hai any body send me the replay please. is it necessary to configure NFS , before configuring NIS on solaris9 or solaris10. (1 Reply)
Discussion started by: nag.mi2000
1 Replies

7. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

8. UNIX for Dummies Questions & Answers

Nis

Hello i have some account already defined on NIS server. I would like to use this account on my machine. What do i have to do ? Only create the home directory then use the account ?? If the user defined is using the korn shell, and i want to use bash, how can i change it ?? (2 Replies)
Discussion started by: dolphin06
2 Replies

9. Shell Programming and Scripting

Validating that the NIS and NIS+ services are disabled

I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies

10. Solaris

nis

how to see the all nis user details and individual user details ? (0 Replies)
Discussion started by: tirupathi
0 Replies
ypfiles(4)							   File Formats 							ypfiles(4)

NAME
ypfiles - Network Information Service Version 2, formerly knows as YP DESCRIPTION
The NIS network information service uses a distributed, replicated database of dbm files , in ASCII form, that are contained in the /var/yp directory hierarchy on each NIS server. A dbm database served by the NIS server is called a NIS map. A NIS domain is a subdirectory of /var/yp that contains a set of NIS maps on each NIS server. Standard nicknames are defined in the file /var/yp/nicknames. These names can be used in place of the full map name in the ypmatch and ypcat commands. Use the command ypwhich -x to display the current set of nicknames. Use the command ypwhich -m to display all the avail- able maps. Each line of the nickname file contains two fields separated by white space. The first field is the nickname, and the second field is the name of the map that it expands to. The nickname cannot contain a ".". NIS to LDAP (N2L) If the /var/yp/NISLDAPmapping configuration file is present, the NIS server operates in NIS to LDAP (N2L) mode. In this mode, NIS maps are stored in a new set of DBM files, prepended by the LDAP_ prefix, at /var/yp/domainename. These files are used as a cache backed by infor- mation from an LDAP server. Additional DBM files are created in the same directory to hold the cache's TTL values. N2L mode enables NIS clients to be supported in an LDAP environment. In N2L mode, the old style DBM files, NIS source files, and the ypmake(1M) utility have to role. They are retained to enable easy conver- sion back to the traditional mode, if required. Converting from N2L to Traditional NIS When NIS is operating in N2L mode, it uses a new set of NIS maps with an LDAP_ prefix, based on the contents of the LDAP DIT. The NIS source files are unused and become out of date. If you wish to convert back to the traditional NIS mode, the N2L configuration file should be deleted. The system will then return to using the standard map files. Optionally, the N2L mode map files, /var/yp/*/LDAP_* can also be deleted. If you want to run the system in traditional mode with information based on the DIT, then the NIS source files must be regenerated based on the N2L maps. To regenerate the NIS source files based on the N2L maps, run ypmap2src(1M). NIS+ NIS+ also provides a NIS service when it runs in YP-compatibility mode. See nis+(1) and rpc.nisd(1M). NIS+, in any mode, cannot be run on the same system as ypserv, whether ypserv is in traditional or N2L mode. FILES
/var/yp Directory containing NIS configuration files. /var/yp/binding Stores the information required to bind the NIS client to the NIS server. /var/yp/binding/ypdomain/ypservers Contains the servers to which the NIS client is allowed to bind. /var/yp/Makefile Builds the NIS ndbm databases. /var/yp/nicknames Nicknames file. /var/yp/securenets Defines the hosts and networks that are granted access to information in the served domain. This file is read at startup time by ypserv and ypxfrd. /var/yp/ypdomain Directory containing ndbm databases. /var/yp/NISLDAPmapping NIS to LDAP configuration file /var/yp/*/LDAP_* NIS to LDAP mode map files SEE ALSO
ldap(1), nis+(1), makedbm(1M), nisaddent(1M), nissetup(1M), rpc.nisd(1M), ypbind(1M), ypinit(1M), ypmake(1M), ypmap2src(1M), ypserv(1M), ypxfrd(1M), ndbm(3C), ypclnt(3NSL) NOTES
The NIS+ server, rpc.nisd, when run in "YP-compatibility mode", can support NIS clients only for the standard NIS maps listed below, pro- vided that it has been set up to serve the corresponding NIS+ tables using nissetup(1M) and nisaddent(1M). The NIS+ server should serve the directory with the same name (case sensitive) as the domainname of the NIS client. NIS+ servers use secure RPC to verify client creden- tials but the NIS clients do not authenticate their requests using secure RPC. Therefore, NIS clients can look up the information stored by the NIS+ server only if the information has "read" access for an unauthenticated client, that is, one with nobody NIS+ credentials. NIS maps NIS+ tables passwd.byname passwd.org_dir passwd.byuid passwd.org_dir group.byname group.org_dir group.bygid group.org_dir publickey.byname cred.org_dir hosts.byaddr hosts.org_dir hosts.byname hosts.org_dir mail.byaddr mail_aliases.org_dir mail.aliases mail_aliases.org_dir services.byname services.org_dir services.byservicename services.org_dir rpc.bynumber rpc.org_dir rpc.byname rpc.org_dir protocols.bynumber protocols.org_dir protocols.byname protocols.org_dir networks.byaddr networks.org_dir networks.byname networks.org_dir netmasks.byaddr netmasks.org_dir ethers.byname ethers.org_dir ethers.byaddr ethers.byname bootparams bootparams auto.master auto_master.org_dir auto.home auto_home.org_dir auto.direct auto_direct.org_dir auto.src auto_src.org_dir SunOS 5.10 24 Nov 2003 ypfiles(4)
All times are GMT -4. The time now is 04:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy