LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-23-2005, 10:33 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
winbind + ADS + PAM


hi there,

i'm trying to get my head around PAM here at the moment, but i'm not getting very far.

i'm trying to make my pop3 mail server authenticate against active directories so far i've got winbind working and i can get my read out of wbinfo -u and the way i've setup my pop3 pam module. you can login with either you unix password or windows domain password.

What i want is if there is a ADS user use it, if not check if there is a unix user and use it.

this is my pop pam module.

auth required /lib/security/pam_securetty.so
auth sufficient /lib/security/pam_winbind.so
auth sufficient /lib/security/pam_unix.so use_first_pass nullok
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
acount required /lib/security/pam_stack.so service=system-auth
acount required /lib/security/pam_winbind.so
 
Old 07-05-2005, 08:18 AM   #2
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
The way that I'm reading that, you're actually requiring the account in winbind. Why not just defer to the system-auth, provided that you have your system-auth configured to auth against AD as well?
 
Old 08-26-2005, 12:02 AM   #3
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
i eventually figured out all i could with my OpenLDAP + LAM + Samba as a primary domain controllor and i posted it on my blog at my local tlug website if anyone is interested

http://tlug.dnho.net/?q=node/146#comment
 
  


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
Checking a password with PAM/Winbind? quill18 Programming 1 05-25-2005 03:12 PM
PAM - Winbind/LDAP Problems. tacoking Linux - Security 0 09-16-2004 07:36 AM
Samba, Pam, winbind and ADS loaf Linux - Software 5 08-17-2004 07:46 PM
Problem with Winbind+PAM zcorpio Linux - Networking 1 06-25-2004 07:53 PM
Cyrus/Winbind/Pam taggedd Linux - Software 0 10-27-2003 07:28 AM

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

All times are GMT -5. The time now is 07:42 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