summaryrefslogtreecommitdiffstats
path: root/VERSION
diff options
context:
space:
mode:
authorOndrej Hamada <ohamada@redhat.com>2011-12-12 12:59:06 +0100
committerRob Crittenden <rcritten@redhat.com>2011-12-12 00:17:07 -0500
commitda4b4fc4d9ef42f8ca46d5b5f405b93ba84f07d0 (patch)
treee8c744f9bac2c0a786be7bc119dcd6dec6804820 /VERSION
parent7710bfb5bdef1faa959b7f9402c2840b5ef65d7e (diff)
downloadfreeipa.git-da4b4fc4d9ef42f8ca46d5b5f405b93ba84f07d0.tar.gz
freeipa.git-da4b4fc4d9ef42f8ca46d5b5f405b93ba84f07d0.tar.xz
freeipa.git-da4b4fc4d9ef42f8ca46d5b5f405b93ba84f07d0.zip
User-add random password support
I've used code from ipalib/plugins/host.py to add support for random password generation. The '--random' option is now available in user-add and user-mod commands. If both the 'password' and 'random' options are used the 'random' option will be ignored. Two test cases were added to unit test's module test_user_plugin.py - they test creating and modifying user with random password. Two fuzzy tests were added: test for password(string that doesn't start or end with whitespace and doesn't containt other whitespace than ' ') and for whatever string(because of krbextradata). I've slightly modified ipa_generate_password in order to make passwords for users more user-friendly(reduce number of non-letters). It has two optional parameters now - first one is string of characters that should be used for generating the passwd and second one is length of password. If none parameter is set default values will be used so there's no need to modify other plugins that use random password generator. https://fedorahosted.org/freeipa/ticket/1979
Diffstat (limited to 'VERSION')
-rw-r--r--VERSION2
1 files changed, 1 insertions, 1 deletions
diff --git a/VERSION b/VERSION
index 4fbf7a9a..08164374 100644
--- a/VERSION
+++ b/VERSION
@@ -79,4 +79,4 @@ IPA_DATA_VERSION=20100614120000
# #
########################################################
IPA_API_VERSION_MAJOR=2
-IPA_API_VERSION_MINOR=17
+IPA_API_VERSION_MINOR=18