![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#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. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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 |
||||
| Google The UNIX and Linux Forums |