Article

Imagen de oruff
article
Reads:

%count lecturas

Score:
5
5
2
 
Comments:

1

ACL Value Calculator for IDM

Author Info

9 April 2008 - 7:26am
Submitted by: oruff

(View Disclaimer)

Getting the right value for the "permission" in an ACL

When dealing with ACL inside a policy in IDM, you must use a structured value made of the following:

  • protectedName = the property you want to grant right on (including [Entry Rights]);
  • trustee = the DN of the trustee;
  • privilege = the rights you are granting.

In the policy it reads like this:

<do-add-src-attr-value name="ACL">
 <arg-value type="structured">
  <arg-component name="protectedName">
   <token-text xml:space="preserve">[Entry Rights]</token-text>
  </arg-component>
  <arg-component name="trustee">
   <token-src-dn/>
  </arg-component>
  <arg-component name="privileges">
   <token-text xml:space="preserve">1</token-text>
  </arg-component>
 </arg-value>
</do-add-src-attr-value>

You can use the attached spreadsheet to compute the value of the privilege component of the ACL. Just put ""1"" (without quotes) in each right you want to grant, and put the displayed value in the privilege part of the ACL in the policy.

AdjuntoTamaño
ACL-Calculator.ods11.26 KB
ACL-Calculator.xls108.5 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

Imagen de hchangriha

Thanks for this advice

Submitted by hchangriha on 4 August 2008 - 7:26am.

Great job, very usefull...

© 2013 Novell