[Freeipa-devel] [PATCH] 608 Fix returning effective rights for password policy

Adam Young ayoung at redhat.com
Fri Nov 19 01:34:18 UTC 2010


On 11/18/2010 11:22 AM, Rob Crittenden wrote:
> Password policy needs to update the class of service priority in 
> another entry. Include the CoS attribute when reporting rights.
>
> rob
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
CAn't seem to get it to work.  Running in the lite server, I have 
confirmed that the patch is applied and run:

  curl   -H "Content-Type:application/json"          -H 
"Accept:applicaton/json"         --negotiate -u :          --cacert 
/etc/ipa/ca.crt           -d  
'{"method":"pwpolicy_show","params":[["global_policy"],{"rights":1, 
"all":1}]}'          -X POST       http://localhost:8888/ipa/json | less


as well as

./ipa pwpolicy-show global_policy --rights

and
./ipa pwpolicy-show global_policy --rights --all

But do not see rights.

Which returns:
ipa: ERROR: global_policy: entry not found



Considering that I run
./ipa pwpolicy-find  global_policy --rights --all

and get
ipa: error: no such option: --rights


I am pretty sure that the patch is applied.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101118/536da4ce/attachment.htm>


More information about the Freeipa-devel mailing list