The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Sample Code: WikiSampleThemeWithCSS iBot UNIX and Linux RSS News 0 06-03-2008 09:20 PM
autosys sample resumes renukasaga01 UNIX for Advanced & Expert Users 0 03-26-2008 03:04 PM
How compile sample libxslt program? siegfried High Level Programming 1 08-06-2006 02:18 PM
Where can I get a sample Solaris exam and a job Youngadmin UNIX for Advanced & Expert Users 2 01-18-2002 04:48 PM
Ftp mget command ?!?!?!? (code sample) Ganondorf UNIX for Dummies Questions & Answers 4 08-06-2001 10:46 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 07-28-2004
vineshp vineshp is offline
Registered User
  
 

Join Date: Jul 2004
Posts: 1
PAM Authentication Sample

Hi,

I am a Linux / Unix newbie c programmer.

I have a c/c++ daemon server that will receive authentication (userid / password) from a windows client.

All I want to do is authenticate the user via PAM API - i.e. user must exist on the Unix / Linux system + password must be validated.

I've tried desperately hard to get this working using the PAM API, however does not seem to work at all. Don't know what I'm doing wrong.

Can anyone please send me a step by step guide and some sample code to be able to do this thru the PAM API. The userid and password params must be passed programmatically, and must not be prompted for on the server side.

THANX.
 

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 07:30 AM.


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