Sponsored Content
Full Discussion: NIS Problem
Operating Systems Solaris NIS Problem Post 41780 by meyersp on Tuesday 14th of October 2003 11:10:27 AM
Old 10-14-2003
NIS Problem

I have a Solaris 9 system running on a sparc platform which is configured for NIS. The domain is set to unixlab.ocas.uc.edu on this system and the yp processes are running. The client machinces successfully binds using the ypinit -c command and specifying the servers name. I also copied the nsswitch.nis file to the nsswitch.conf. I reboot the client and the system reconizes the nis domain and comes up. The problem is when i try to login using an account i created it says login incorrect. I can login as the clients root and do a ypcat and the users info is in the passwd map. Also doing a ypwhich shows the name of the server. Plus i can ping the server. Any ideas???
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NIS problem with netgroup

Hi@all, I'd setup a nis server and 4 slaves. Update of passwd work's fine, but if i create a netgroup file the make all process hang by push the netgroup file. I work with AIX 4.3.3.0 and Maintance Level 5. Tank's for help (1 Reply)
Discussion started by: Michael
1 Replies

2. UNIX for Advanced & Expert Users

NIS Problem

Hi all, I use a sparc 1000 Enterprice server with solaris 5.8 as nis server. IŽam able to login as root user on the server and switch after that to any other user (If I am switch as root user) . So far so good. But if i try a rlogin server -l user_name or su - user (if I am no root user)... (5 Replies)
Discussion started by: joerg
5 Replies

3. UNIX for Advanced & Expert Users

NIS config problem

Hi Experts, For configuring NIS server/clients which i've done several times already, i faced some problem which i have not seen before. The problem is that after configuring NIS server & the clients, for instance when i run "ypcat hosts " it gives this message: "No such map in domain services"... (5 Replies)
Discussion started by: nikk
5 Replies

4. Solaris

problem in changing the NIS passwd

Now I face a problem in changing the NIS passwd,I have no idea,want you to help me! Today I add some user in the NIS master server ,I "vi" /etc/passwd &/etc/shadow,add user account and password by hand(shadow----no password ,only eight ":"). when finsh,I login ,system told me to input a password... (3 Replies)
Discussion started by: dlsjm
3 Replies

5. Solaris

NIS Problem

I'm having an issue with NIS. I run the following: ./nisclient -i -d XXX.XXXX.XXX -h XXXX-XXXX Everytime I do this with both my master and slave servers up and running and I go to reboot my client the client will hang after starting RPCBIND, and NIS Cachemanager. If I take my slave NIS... (1 Reply)
Discussion started by: buckhtr77
1 Replies

6. Solaris

annoying problem with nis

This is my home set up I have 2 solaris boxes at home. One is a nis server and one is client. everytime I start the client without server, it will hang permanently looking for for nis server. is there a way to get around this? Can you set timeout the nis client? I use nis becuase my... (4 Replies)
Discussion started by: congngo
4 Replies

7. Solaris

Problem with NIS client

Hi All, In my network infra, there is a NIS master server and many more NIS slave servers. Now, I want every client to set with master server and one possible slave server so that if master goes down, client could still get info from slave server. The servers will be listed on... (0 Replies)
Discussion started by: naw_deepak
0 Replies

8. AIX

NIS problem in aix

Hi, We are facing a problem with nis . we have a master server and there are 5 -6 slave servers configured with NIS. All the servers are IBM aix with different O/s versions installed Ex.5.2, 5.3 and 6.1 The master nis server is a 5.2 aix server system and all others are installed with nis... (6 Replies)
Discussion started by: ramkalluri
6 Replies

9. Red Hat

NIS problem

Hello Everyone! When my NIS clients sync to the master server they have a problem with only the group maps. Upon executing "ypcat group" on the client, just one entry displayed for groups. That entry corresponds to the local group account (/etc/group) on the master. This particular group... (0 Replies)
Discussion started by: pingmeback
0 Replies

10. Red Hat

Audio Problem-NIS users

Hai all, I'm rameez rahman working as a Technical assistant. I configured NIS Server in RHEL 6.5 with 40 client PC's.All the clients are using the same os ie RHEL 6.5 64 bit.All the features are working fine except sound ie from client machine if a NIS user logged in he cant access sound.But if... (2 Replies)
Discussion started by: rameez rahman k
2 Replies
ypset(1M)						  System Administration Commands						 ypset(1M)

NAME
ypset - point ypbind at a particular server SYNOPSIS
/usr/sbin/ypset [-d ypdomain] [-h host] server DESCRIPTION
In order to run ypset, ypbind must be initiated with the -ypset or -ypsetme options. See ypbind(1M). ypset tells ypbind to get NIS services for the specified ypdomain from the ypserv process running on server. If server is down, or is not running ypserv, this might not be dis- covered until an NIS client process tries to obtain a binding for the domain. At this point, the binding set by ypset is tested by ypbind. If the binding is invalid, ypbind attempts to rebind for the same domain. ypset is useful for binding a client node that is not on a broadcast net, or is on a broadcast net that is not running an NIS server host. It is also useful for debugging NIS client applications, for instance, where an NIS map exists only at a single NIS server host. Where several hosts on the local net are supplying NIS services, ypbind can rebind to another host, even while you attempt to find out if the ypset operation succeeded. For example, if you enter the ypset command below, you might get the subsequent response from ypwhich: example% ypset host1 example% ypwhich host2 The sequence shown above is a function of the NIS subsystem's attempt to load-balance among the available NIS servers, and occurs when host1 does not respond to ypbind because it is not running ypserv (or is overloaded), and host2, running ypserv, obtains the binding. server indicates which NIS server to bind to, and must be specified as a name or an IP address. This works only if the node has a current valid binding for the domain in question and ypbind has been set to allow use of ypset. In most cases, server should be specified as an IP address. ypset tries to bind over a connectionless transport. The NIS library call, yp_all(), uses connection-oriented transport and derives the NIS server's address based on the connectionless address supplied by ypset. Refer to ypfiles(4) for an overview of the NIS name service. OPTIONS
-d ypdomain Use ypdomain, instead of the default domain. -h host Set ypbind's binding on host, instead of locally. Specify host as a name. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
ypwhich(1), ypfiles(4), attributes(5) SunOS 5.10 14 Sep 1992 ypset(1M)
All times are GMT -4. The time now is 02:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy