LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-06-2009, 03:51 PM   #1
john_es
LQ Newbie
 
Registered: Mar 2009
Posts: 15

Rep: Reputation: 0
Error in updating the file: 'pam_account' not found


Using Ubuntu 8.10.

I am following the guide at: https://help.ubuntu.com/8.10/serverg...ap-server.html

When I get to the line:

sudo auth-client-config -a -p lac_ldap

I get:

Error in updating the file: 'pam_account' not found
--
Errors found. Aborting (no changes made)


I've seen others with the same problem online but no concrete solution.

Does anyone have any ideas?

Thanks...
 
Old 03-08-2009, 08:47 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,709
Blog Entries: 54

Rep: Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965Reputation: 2965
Have a look at Bug #295008?
 
Old 03-08-2009, 12:01 PM   #3
john_es
LQ Newbie
 
Registered: Mar 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Interesting...

So I added the following lines to /etc/auth-client-config/profile.d/ldap-auth-config:

pam_auth=auth sufficient pam_ldap.so
auth required pam_unix.so nullok_secure use_first_pass
pam_account=account sufficient pam_ldap.so
account required pam_unix.so
pam_password=password sufficient pam_ldap.so
password required pam_unix.so nullok obscure min=4 max=8 md5
pam_session=session required pam_unix.so
session required pam_mkhomedir.so skel=/etc/skel/
session optional pam_ldap.so
session optional pam_foreground.so

and now I am past that error. But I don't understand _why_. According to the thread, all I was supposed to have to have done was to follow:

<blockquote>This is not a bug in auth-client-config. ldap-auth-config supplies the lac_ldap profile. ldap-auth-config now utilizes the new pam_auth_update framework, which is why there are no pam entries in the file. It does still ship an NSS profile, which can be used by auth-client-config like so:
$ sudo auth-client-config -t nss -p lac_ldap
</blockquote>
 
  


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
how to execute a script file? Have file/directory not found error sirius57 Linux - Software 2 11-22-2007 12:43 AM
Error 15 file can't be found bookie Linux - Software 15 11-16-2007 10:24 AM
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 04:45 AM
Error 15 file not found PenguinMolester Suse/Novell 5 08-29-2005 08:07 AM
snmpd installed, see file, but get error file not found PCHelper Slackware 0 11-06-2003 01:44 PM


All times are GMT -5. The time now is 09:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration