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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-28-2004
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.
Reply With Quote
Forum Sponsor
  #2  
Old 08-04-2004
kduffin's Avatar
UN1X
 

Join Date: Nov 2003
Location: Virginia
Posts: 441
Phrack as a nice walk through of configuring PAM and some sample code for the API. Take a look at PHRACK Pam walkthrough

Cheers,

Keith
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0