[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Ppolicy issues



On Wednesday 20 February 2008 17:10:00 Bryan Payne wrote:
> Thank you for your help. I added the pwdPolicySubentry to a user to no
> avail. I did find this in the logfile though:
>
> Feb 20 09:01:13 ldapserver slapd[6709]: conn=95289 op=4 SEARCH RESULT
> tag=101 err=50 nentries=0 text=Operations are restricted to
> bind/unbind/abandon/StartTLS/modify password
>
> So it looks like it's trying to do something but cannot. While I'm
> concerned about password strength, I'm more concerned (at this point)
> with just having the machine prompt for a password change. 

Well, what do you mean by "the machine" ? It looks like the password has 
expired, but if you're expecting a prompt for a password change, that's a 
client side issue. So, what is the client in this case? Recent versions of 
pam_ldap support ppolicy (IIRC including the one shipped with RHEL4), but you 
didn't say which client this is.

Also, you said accounts get locked, but users can still log in? This sounds 
like you might not actually be using pam_ldap for authentication, but the 
pam_unix->nss_ldap (NIS replacement and nothing more) method, which won't see 
anything relating to ppolicy.

Regards,
Buchan