Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-18-2011, 07:58 PM   #1
LQ Newbie
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
OpenLDAP "pwdPolicySubentry" for ppolicy not applying


I'm trying to get ppolicy to work on a CentOS 5.6 server I have at home running OpenLDAP 2.3.43. I cannot get pwdPolicySubentry to show up as an available attribute for any user (using ldapadd with LDIF (doesn't error, but attribute does not get applied) or programs such as JXplorer or Apache Directory Studio). I'm able to add pwdPolicy and pwdPolicyChecker as classes, but they don't appear to contain the "pwdPolicySubentry" I desire.

I have the following relevant items in my slapd.conf:

include /etc/openldap/schema/ppolicy.schema


overlay ppolicy
ppolicy_default "cn=noexpirepassword,ou=policies,dc=<snip>,dc=<snip>"

I googled around and took a look at /etc/openldap/schema/ppolicy.schema and noticed that the section for pwdPolicySubentry was commented out within the schema file. I tried removing the leading #'s but this did not improve my luck.

Any insight is very much appreciated. Thank you.
Old 06-19-2011, 06:24 PM   #2
LQ Newbie
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Nevermind, I tried slapcat and noticed the entry was actually there, and modifying it per user functions correctly...

Now to find a working pwdCheckModule... anyone know of one?


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
Openldap Authentication error 'send_ldap_result: err=49 matched="" text=""' mahao Linux - Server 1 03-07-2011 12:56 AM
openldap ppolicy in RHEL5 frndrfoe Linux - Server 2 04-01-2010 12:56 PM
LXer: Applying "The Art of War" to Open Source, Linux and BSD LXer Syndicated Linux News 0 03-25-2007 10:31 AM
Applying a debian patch to a "pure" kernel gerald45 Debian 2 10-23-2005 09:05 AM
Help please! applying FreeBsd patches for "programe name" failed. Devboy *BSD 2 08-12-2004 05:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:37 PM.

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