LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-05-2004, 05:07 PM   #1
existo
LQ Newbie
 
Registered: Jan 2004
Distribution: SlackWare 9.1
Posts: 17

Rep: Reputation: 0
Writting PAM Module for custom authentication?


I have been scouring the net for quite a while now trying to find good tutorials (specifically tutorials) on writting PAM modules. I have found tons of good examples, and lessons of how and what a PAM module does.

I have found one tutorial on writting a PAM module which doesn't go into detail of using system resources, drawing from libraries etc.

The client setup is a SuSE 9.0 default installation with all patches etc.

The environment is Windows, Kerberos & Active directory. I know what needs to be done but what I need to know is if a PAM module has to be written in C++ or C, vs. something like Perl or a sh/bash script.

Without having a local user setup but having an entry in AD & Kerberos I recieve and error that the kerberos authentication fails due to no UID/GID which is present in LDAP but not Kerberos. Example:

Kerberos sees username and password -> OK
LDAP sees username and looks for UID,GID,Home Dir., & Shell -> No UID/GID

Everytime Kerberos looks at the local /etc/passwd & /etc/shadow files for authentication informaiton and if there is not an entry it will not authenticate.

What I need is a way to point the pam_krb.c file to something other than the local accounts (that is without using the *K* in the /etc/shadow file trick).

Any help, resources, examples, tutorials, sanity & code examples are appreciated.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid With PAM authentication paul_mat Linux - Networking 2 03-15-2011 12:47 PM
VNC with PAM authentication? make Linux - Software 2 06-07-2005 02:45 AM
PAM Pop3 Authentication vijaykcm Linux - Security 3 12-27-2004 11:38 AM
custom geforce video card--custom module? bandofmercy Linux - Hardware 3 10-14-2004 06:52 PM
python pam authentication shakeeb Programming 0 09-15-2004 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration