[389-users] Magic required for subtree password policy?

Rich Megginson rmeggins at redhat.com
Wed Oct 13 14:57:37 UTC 2010

Gerrard Geldenhuis wrote:
> Hi
> The admin guide says that one should use ns-newpwpolicy.pl script to set subtree password policies on the command line. Can we also set this using ldifs or is there some magic that this script perform that can't be achieved by using ldifs?
Depends on what you mean by magic.  If you're starting from scratch, a 
clean tree, you should be able to do everything by ldif files + 
ldapmodify.  If you want to add to or modify an existing subtree 
password policy, that may be difficult to do with just ldif files - you 
may have to search first, then alter your ldif based on the search results.

The ns-newpwpolicy.pl script essentially just generates ldif and passes 
that to ldapmodify.

> Regards
> ________________________________________________________________________
> In order to protect our email recipients, Betfair Group use SkyScan from 
> MessageLabs to scan all Incoming and Outgoing mail for viruses.
> ________________________________________________________________________
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

More information about the 389-users mailing list