Trying to follow;
1)
http://technet.microsoft.com/en-us/library/cc737658.aspx (Server for NIS, Step-by-Step)
2)
http://technet.microsoft.com/en-us/library/cc780148.aspx (Deploying Password Synchronization)
Environment:
1) Windows Server 2003 R2, Domain Controller (Master for NIS)
Installed: Server for NIS, and Password Synchronization for the Windows Components, Active Directory Services, Identity for Unix Module.
2) Redhat Enterprise 5 Server, Clean Install (Slave for NIS)
Installed: yp-tools, port-map and ssod
Scenario: (See attached file for screen shots and log info)
On the Windows side of the house, if we enter into the Management console for Unix, we can see that the service is started, the Master and Slave have been defined, encryption has been set, Use windows for NIS is check marked. (The port number has been changed on purpose; but the reflection was made on the other server correctly.)
On the Redhat side; I can see the passwd database from the NIS.
[root@amf-asic1 ~]# ypcat passwd
timmy:ABCD!efgh12345$67890
:10013:100
00::/home/
timmy:/bin
/tcsh
[root@amf-asic1 ~]#
[root@amf-asic1 init.d]# ./ypbind restart
Shutting down NIS services: [ OK ]
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.
[root@amf-asic1 init.d]# ./yppasswdd start
Starting YP passwd service: [ OK ]
[root@amf-asic1 init.d]# ./ypxfrd start
Starting YP map server: [ OK ]
[root@amf-asic1 init.d]# cd /opt/Ssod/
[root@amf-asic1 Ssod]# ./Ssod -v
Port: 9817
Use shadow: 1
Case Ignore Name: 1
Use temp: 0
Use NIS: 1
File path: /etc/shadow
Temp path: /etc
Pam_supported 0
NIS update path: /var/yp
NIS update makefile: Makefile
[root@amf-asic1 Ssod]#
So I know I'm getting information from the NIS. but it's not relfected in my passwd file and I cannot log in. I assume that is due to the password not being sync'd. And I cannot change the password for a user on the Redhat side.
[root@amf-asic1 ~]# yppasswd timmy
Changing NIS account information for timmy on amf-dc1.
Please enter root password:
Changing NIS password for timmy on amf-dc1.
Please enter new password:
Please retype new password:
Error while changing the NIS password.
The NIS password has not been changed on amf-dc1.
[root@amf-asic1 ~]# yppasswd timmy
Changing NIS account information for timmy on amf-dc1.
Please enter root password:
Changing NIS password for timmy on amf-dc1.
Please enter new password:
Please retype new password:
Error while changing the NIS password.
The NIS password has not been changed on amf-dc1.
[root@amf-asic1 ~]# Tried it twice to make sure I wasn't misssppeeling it! :D
I really need to get these two machines to sync up properly.
Anyone have an answer for this? I've been at it for days. My brain feels like swiss cheese.
Start Free Trial