LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2012, 06:38 AM   #1
oizzzo
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Lightbulb Getting user credential from PAM


Hi all, need some help.

The case is next: i want to mount network drives for users, users is Active Directory users and are logging to linux workstation(Gentoo). Workstation is member of Server 2003 domain.

Can i get something like PAM_USER and PAM_PASSWORD and provide this to script which mounts drives automatically?

Thanks for help,
Aleks
 
Old 07-31-2012, 03:17 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Isn't that what pam_mount is for?
 
Old 08-08-2012, 12:21 AM   #3
oizzzo
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks, already solved this with pam_mount
 
Old 08-28-2012, 01:50 PM   #4
leblinux
Member
 
Registered: Dec 2008
Posts: 49

Rep: Reputation: 0
Quote:
Originally Posted by oizzzo View Post
Thanks, already solved this with pam_mount
Am having troubles mouting cifs share for AD users did you solve it? Can you share please?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
user lock with using PAM ajaysharma1181 Linux - Enterprise 1 10-27-2008 03:14 AM
Domain user login credential propagation smithd3 Linux - Networking 0 09-04-2007 03:59 PM
user deny using pam Karthi_India Linux - Newbie 5 07-12-2007 08:17 AM
PAM obtain user id bob66 Programming 0 04-02-2005 06:52 PM
Using PAM with FreeBSD? New Linux user please help!! urBan_dK *BSD 7 07-22-2004 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:44 AM.

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