AIX NIS Client to Linux


 
Thread Tools Search this Thread
Operating Systems AIX AIX NIS Client to Linux
# 15  
Old 02-09-2009
Yes, I do it as root. And, I could not su to that account from other account, too.
# 16  
Old 02-09-2009
Right. So again, the problem is that AIX is not seeing Linux's shadow table.

Post the contents of /etc/ypserv.conf, /var/yp/securenets,

Also, from the Linux-NIS FAQ:

Quote:
I wish to use shadow maps with NIS.
Put shadow to the all: rule in /var/yp/Makefile and check the shadow rules for your system. For changing shadow NIS passwords, read the rpc.yppasswdd man page. libc5 with traditonal NIS doesn't support shadow passwords over NIS.
# 17  
Old 02-09-2009
My /etc/ypserv.conf

Quote:
#
# ypserv.conf In this file you can set certain options for the NIS server,
# and you can deny or restrict access to certain maps based
# on the originating host.
#
# See ypserv.conf(5) for a description of the syntax.
#

# Some options for ypserv. This things are all not needed, if
# you have a Linux net.

# Should we do DNS lookups for hosts not found in the hosts table ?
# This option is ignored in the moment.
dns: no

# How many map file handles should be cached ?
files: 30

# xfr requests are only allowed from ports < 1024
xfr_check_port: yes

# The following, when uncommented, will give you shadow like passwords.
# Note that it will not work if you have slave NIS servers in your
# network that do not run the same server as you.

# Host : Domain : Map : Security
#
# * : * : passwd.byname : port
# * : * : passwd.byuid : port

# Not everybody should see the shadow passwords, not secure, since
# under MSDOG everbody is root and can access ports < 1024 !!!
* : * : shadow.byname : port
* : * : passwd.adjunct.byname : port

# If you comment out the next rule, ypserv and rpc.ypxfrd will
# look for YP_SECURE and YP_AUTHDES in the maps. This will make
# the security check a little bit slower, but you only have to
# change the keys on the master server, not the configuration files
# on each NIS server.
# If you have maps with YP_SECURE or YP_AUTHDES, you should create
# a rule for them above, that's much faster.
# * : * : * : none
and /var/yp/securenets nothing restricted
Quote:
0.0.0.0 0.0.0.0
And, I have no shadow.byname in /var/yp/domain_directory
# 18  
Old 02-09-2009
Quote:
Originally Posted by aloneattack
And, I have no shadow.byname in /var/yp/domain_directory
Hrm, that seems to be a problem. Search google for this problem. It might turn up a way to solve it that I cannot think of. (Again, I'm not running NIS currently.)
# 19  
Old 02-09-2009
I can only assume that you have other machines on your network, that can use this NIS server without issue and that you don't have any host.deny or selinux action happening on your NIS server that would stop this machine from connecting to it.

Try this:
On your AIX machine.... As root

Step 1:

smit
System Storage Management (Physical & Logical Storage)
File System
Add / Change / Show / Delete File Systems
Network File System (NFS)
Network Information SErvice (NIS)
Configure / Modify NIS
Change NIS Domain NAme of this Host
Set the following options and press Enter
add YOURNISDOMAIN


Enter (DO)


* YOURNISDOMAIN - From your NIS Server run this command to find the name: nisdomainname
It is case senitive



Step 2:
Still as root
smit

Communications Applications and Services
NFS
Network Information Service (NIS)
Configure / Modify NIS
Configure this Host as a NIS Client


Enter the FQDN of your NIS Server ie. myNISServer.mynetwork.com


Enter (DO)


Step 3:


Start a new SSH or telnet connection to your AIX machine
log in as one of your users
# 20  
Old 02-24-2009
It's still my big problem Smilie
Only some old accounts could login, except the others.

Last edited by aloneattack; 02-24-2009 at 11:04 PM..
# 21  
Old 02-25-2009
I still think the problem is having no shadow file in /var/yp/domain_directory. There's an option in the RedHat startup scripts for the NIS server that, depending on a configuration variable in /etc/sysconfig/ypserv (or something), it will either merge the passwd and shadow files, or serve them separately. Try setting up a second Linux server with this option to merge the files and see if then your AIX client can handle it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

User authentication failed while log in Solaris 8 client on Linux NIS server.

Based on the NIS migration tests I did and another question I posted earlier on. https://www.unix.com/solaris/272021-solaris-8-md5-encryption-support.html I tried to downgrade NIS linux encryption to DES to support solaris connection. So I modified /etc/pam.d/system-auth as below, password... (0 Replies)
Discussion started by: bestard
0 Replies

2. AIX

AIX LDAP client authenticate against Linux Openldap server over TLS/SSL

Hi folks, How can i configure an AIX LDAP client to authenticate against an Linux Openldap server over TLS/SSL? It works like a charm without TLS/SSL. i would like to have SSL encrypted communication for ldap (secldapclntd) and ldapsearch etc. while accepting every kind of certificate/CA.... (6 Replies)
Discussion started by: paco699
6 Replies

3. UNIX for Dummies Questions & Answers

Help with NIS client

Hi All, I have a new server on the network, I did configure the NIS. ypwhich is working and ypcat all are working. But when I log in as me, home directory is not coming up. I looked at other servers we have at work to see what's under /etc/fstab. I don't see anything for home directory. ... (3 Replies)
Discussion started by: samnyc
3 Replies

4. AIX

can not mount from aix client to linux nfs server

Hi, I am trying to mount a nfs folder from AIX client to Linux NFS Server, but I got the following error: # mount 128.127.11.121:/aix /to_be_del mount: 1831-010 server 128.127.11.121 not responding: RPC: 1832-018 Port mapper failure - RPC: 1832-008 Timed out mount: retrying... (1 Reply)
Discussion started by: victorcheung
1 Replies

5. AIX

Aix 5.3 NIS Client from a Suse10 sever

Hello Guys, Unfortunately after look for it on entire www I did not find anyone that have made a tutorial how to make it works. I'm using an AIX 5.3 as a nis client from a SUSE 1.0 server. I can see the maps - ypcat passwd (so I can Bind server) and I can su NIS users. BUT I CAN... (0 Replies)
Discussion started by: michelan
0 Replies

6. UNIX for Advanced & Expert Users

Linux NIS sever not binding with Solaris client

I am installing a NIS master server with a linux SLES 10 SP1. And it was pretty straight forward. (Simple since it GUI ) The server can bind to itself when issue with ypwhich command. But on solaris 10 box, I set up the defaultdomain (/etc/defaultdomain) and also issue ypinit -c to startup the... (3 Replies)
Discussion started by: ibroxy
3 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. AIX

AIX NIS client

All, I have just started using AIX (Solaris admin here) and I need to setup my new AIX box as an NIS client. Where would I do this? Thanks for the help! -Kevin (2 Replies)
Discussion started by: kjbaumann
2 Replies

9. AIX

Use AIX as NIS client

Hi everyone. Has anyone here used AIX as a NIS client to a Linux server? If have configured this setup and cant get it to work. I have verifyed that the NIS server is working since other machines are able to connect to it and users to log in on other clients. On the AIX machine the users are... (0 Replies)
Discussion started by: sprellari
0 Replies

10. Solaris

Unregietred a nis+ client

Hi, How can I unregistered a nis+ client. I want it works without nis+. Bests regards (2 Replies)
Discussion started by: omainfroy
2 Replies
Login or Register to Ask a Question