On 01/09/2013 04:39 PM, Petr Vobornik wrote:
On 01/09/2013 03:27 PM, Umarzuki Mochlis wrote:
i'm interested on patch
so i can have user to be able to reset own password
do i manually edit each listed files or is there any specific step(s) needed?
These patches (in a form sent to freeipa-devel-list) are generated by using
'git format-patch' command and are supposed to be applied using 'git am' or
'git apply' command. They can be also applied on source codes using 'patch'
If you work with our git repository the easiest way might be 'git cherry-pick'.
From your question isn't clear whether you want to patch source codes of some
release (ie. 2.2) and then build a custom build or you want to modify already
installed server. I suspect the latter.
In both cases you might run into a problem that the patch does not apply
because it depends on some modifications done by some previous patch.
It seems that you want to add password reset functionality to FreeIPA 2.2. If
that is the case you should also look at
because this one adds the core functionality which the UI page uses. If you
manage to incorporate Martin's patch, you should just use
install/ui/reset_password.html and install/ui/reset_password.js and the
modifications in install/ui/ipa.css from the changeset you linked. In any case
I do not recommend to such modifications. They have high potential to break
You can use the steps that Petr suggested. Just please be cautious about my
patch 274 that Petr sent an URL to. This was a first proposal of the patch, the
resulting patch crafted after the review process is much different. This is the
If you want to do a custom build, you can either use a fedpkg and create a
scratch build of IPA with the patches applied or do a custom build from git
tree. Using the fedpkg tool + build in koji may be the safest way to build such
rpm that contain only the official build + chosen patches.
Freeipa-users mailing list