-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In order for a password policy to apply without writing any code of your
own you must rely on NMAS to enforce a password policy. NMAS only
enforces policies when a policy applies in one of the following four
places (checked in this order):

The object itself
The object's parent container (just one container)
The object's partition root container (just one partition root, not
parent partitions).
The Login Policy.Security object

As a result, what you are trying to do is not possible unless you do
something on your own; for example, if all users login through a website
you could check their password when they change it through there, though
that is not using eDirectory password policies at all.

You do not give a reason for not wanting to associate the password
policy directly to the user so I will assume it is because that would be
a lot of work to do initially (though via LDAP it would probably just
take a couple of minutes) or difficult to maintain (every time a user is
added, or changes attribute values, the policy could change). You could
use Novell/NetIQ Identity Manager to automatically manage this attribute
for you based on company so you would just need to setup a Null driver
config once, put in the relationships between attribute values and
password policies, and then let it manage things from there. This would
work continuously on your objects and could also do the initial
value-setting for you. Post in the IDM engine/drivers forum for more
information if you need help setting that up.

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPxMMZAAoJEF+XTK08PnB5gJgP/2+i7c8FqKS/uZ/C3ZDLXXRF
UfHHOIeowl2ahT4R11DMMOXu+ACks7hoXJDc8zamhccf3xurfF f8BXB1GW8Bjyzf
EoV+7pMnxcVo2DarslKWeHb7KxzQOfB1jHTA9NILeHhsqDR9+a pYny87GoR++YfD
38Bnqy37B1fmNZ67Uv6ccYLOOBUETiziGnqvSglUPuk2bHjXrQ suhyfMWFmQTxXt
yqJ5Tz5SovKw9AGqpqqBuSkj2wQEl16+mF9MVf3w+7X2TqTzVH Qx6olbg8mvtzq3
Xw3KBWPxH6FzSO8/gBCpf1N4WuULOj3Vg1EynIW3RMwG20snpNStC4ZmDEeuX4RS
NiklhmlLkwvY4X4gZcNuG7XiSxgpKn/+TRupeIj6jl6wGVVzbfOTSuZRH9OIxeBU
G4Rqxe8PMAGO4BHF6sHjCmuLn2Pnw8Ce2kL9tpovDSw0yPdrPv 5IaTzKC+qZiOOP
vEkksZm3YSuNIkH3HDNF/r4COhpW8xrXxRiNR3sX/pFbHS/C79STjlFGWxTkdX6n
OzsAXWlQTx1vIiI6ahjfLatgiuGUqvACnWCMDCPLoNS6GIer49 0gCIdCr7uYaWcD
+iHav1Vqe8c/zhkc6VhXfaOZYyP7IW3xati2AMDvQYaLgGARGWWFfq+Me4TBYv W1
Lebm4RLy1tYUsWcbx6Hz
=+3Bb
-----END PGP SIGNATURE-----