AIX NIS Client to Linux


 
Thread Tools Search this Thread
Operating Systems AIX AIX NIS Client to Linux
# 8  
Old 02-02-2009
Quote:
Originally Posted by aloneattack
Hi,
"ypcat passwd" contains the new password entry and "getent passwd <username>" return almost the same but have no hash, just has an "x" .
Let's continue on this track. What about "getent shadow <username>" and "ypcat shadow | grep <username>" ?

Do they both return the same password?
# 9  
Old 02-03-2009
Hi, as your suggest, I did
On the linux server :
getent shadow <username> returns username and hashed password
ypcat shadow | grep <username> returns nothing
On the client (AIX) :
getent shadow <username> : there is no command named getent
ypcat shadow | grep <username> returns nothing
# 10  
Old 02-03-2009
Quote:
Originally Posted by aloneattack
Hi,
"ypcat passwd" contains the new password entry and "getent passwd <username>" return almost the same but have no hash, just has an "x" .
I could login with others account, so I sure there is no problem with mounting.
Thank you for your reply, any suggestion please ?
Apparently, then, you did this on the server. Could you also do it on the AIX host, please? (now "passwd", not "shadow")
# 11  
Old 02-03-2009
Hi, thank you
On both AIX client and Linux server : "ypcat passwd | grep <username>" resulted the same output.
However, there is no command named "getent" in AIX so I only do it on Linux server and on the Linux server only I did:
ypcat passwd | grep <username>
getent passwd <username>
getent shadow <username>
and get the same password value on each ouput.

Any suggestion, please
# 12  
Old 02-04-2009
Quote:
ypcat shadow | grep <username> returns nothing
What is happening here is that the shadow file is (a) not being exported by the Linux server or (b) not being recognized by the AIX client. I'm currently not running NIS here, and I don't recall exactly where to look for it, but there is a file which describes which IPs and subnets which tables can be sent to. You need the shadow file so that passwords can be tested. There is, however, a compatibility mode where Linux will send the encrypted password in the request for the user's entry in the passwd table. Then, however, you won't see an "x". When you run the commands on AIX, where you root? If not, try "ypcat passwd |grep <username>" again but with your root account.

I'm not sure why su works differently, but there's a way to check: Does AIX use PAM (Pluggable Authentication Modules)? You can test this by looking in /etc/ for a file named pam.conf or a directory named pam.d.
# 13  
Old 02-09-2009
Hi otheus,
I tried but nothing changes when run command with root account.
And I don't see that there is a pam.conf on AIX so my AIX client uses LAM (Loadable Authentication Module).
I'm stuck here.
# 14  
Old 02-09-2009
When you "su to that account", did you do so as root?
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