Sponsored Content
Full Discussion: NIS trouble
Top Forums UNIX for Advanced & Expert Users NIS trouble Post 11488 by farzolito on Thursday 6th of December 2001 04:37:14 AM
Old 12-06-2001
i have already understood that the re-init is just for NIS Smilie

my NISserver is in linux debian 2.2.10
my master is in SunOS 5.5 and my client in HPux 11.00

i ever try to re-init the map group.bygid with the ypxfr command, it doesn't work anymore...

but, now i need to find a quickfix for this problem and i try my client bound a other nisserver which is in the same subnet and in the same VLAN...but my client do want to bind the other niserver, that's why i ask this question.
i finally find the solution; in HPux, the /etc/rc.config.d/namesvrs file contains informations on the different variables.

when i try a ypinit -s MASTER_NIS_SERVER
the nis slave responds :
"can't enumerate maps from MASTER_SERVER. Please check that it is running"

i used to know the NIS world, but now i discover the dark side of the NIS... Smilie Smilie

thx for your patience
 

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
NIS(8)							    BSD System Manager's Manual 						    NIS(8)

NAME
nis, yp -- description of the NIS (formerly YP) subsystem SYNOPSIS
ypbind [-ypset] ypbind [-ypsetme] ypset [-h host] [-d domain] server yppoll [-h host] [-d domain] mapname ypcat [-kt] [-d domainname] mapname ypcat -x ypmatch [-kt] [-d domainname] key ... mapname ypmatch -x ypwhich [-d domain] [[-t] -m [mname] | host] ypwhich -x ypserv [-d] [-x] yppush [-d domainname] [-h hostname] [-v] mapname ypxfr [-bcf] [-d domain] [-h host] [-s domain] [-C tid prog ipadd port] mapname ypinit -m [domainname] ypinit -s master_server [domainname] yptest rpc.yppasswdd [-noshell] [-nogecos] [-nopw] [-m arg1 arg2 ...] DESCRIPTION
The NIS subsystem allows network management of passwd and group file entries through the functions getpwent(3) and getgrent(3). NIS also provides hooks for other client programs, such as amd(8) and rpc.bootparamd(8), that can use NIS maps. Password maps in standard YP are insecure, because the pw_passwd field is accessible by any user. A common solution to this is to generate a secure map (using ``makedbm -s'') which can only be accessed by a client bound to a privileged port. To activate the secure map, see the appropriate comment in /var/yp/Makefile.yp. The NIS subsystem is conditionally started in /etc/rc. See the /etc/rc.conf file for configuration variables. SEE ALSO
domainname(1), ypcat(1), ypmatch(1), ypwhich(1), ypclnt(3), group(5), hosts_access(5), nsswitch.conf(5), passwd(5), rc.conf(5), rc(8), ypbind(8), ypinit(8), yppoll(8), yppush(8), ypserv(8), ypset(8), yptest(8), ypxfr(8) HISTORY
The NIS client subsystem was originally written by Theo de Raadt to be compatible with Sun's implementation. The NIS server suite was origi- nally written by Mats O Jansson. BUGS
If ypbind(8) cannot find a server, the system behaves the same way as Sun's code: it hangs. The 'secure map' feature is not compatible with non-BSD implementations as found e.g. in Solaris. BSD
February 26, 2005 BSD
All times are GMT -4. The time now is 05:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy