The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
updating kde 3.5 to 4.0 revolver UNIX for Dummies Questions & Answers 2 01-25-2008 11:04 PM
Problem in subroutine calling sarwan Shell Programming and Scripting 1 01-17-2006 02:22 AM
passing "stderr " to a subroutine.. sekar sundaram Shell Programming and Scripting 1 11-29-2005 08:14 PM
how to write stderr in a subroutine log file?.. sekar sundaram Shell Programming and Scripting 1 11-24-2005 09:49 AM
updating ssa chosie AIX 1 06-03-2005 05:39 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-11-2007
rmm47 rmm47 is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 2
chpass subroutine not updating NIS

Hello,

I'm implementing a change password interface in our company's AIX application but am having trouble getting it to work with NIS using the chpass subroutine.

According to the "chpass" subroutine man page it handles password changes for local, NIS, and DCE passwords.

However "chpass" is only changing the local user password in my test program. NIS still recognizes the old password.

Using the passwd command from the command line updates NIS so I'm wondering why calling "chpass" from my test program does not update NIS?

Here's the basic logic for completeness:
call "loginrestrictions" to check for login restrictions
call "authenticate" to athenticate the user
call "passwdexpired" to check for expired password
call "chpass" if password expired and user can change it

The architecture for this intranet application is: the clients are Windows IE browsers communicating with an inetd daemon on AIX. "chpass" is being called from the inetd service running as root.

I appreciate any suggestions.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0