FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 02-05-2008, 07:59 PM
 
Default conga/luci/site/luci/Extensions homebase_adapt ...

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe@sourceware.org 2008-02-05 20:59:38

Modified files:
luci/site/luci/Extensions: homebase_adapters.py

Log message:
Enforce password minimum length on the backend.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/homebase_adapters.py.diff?cvsroot=cluster&r1=1.57& r2=1.58

--- conga/luci/site/luci/Extensions/homebase_adapters.py 2008/01/23 04:34:09 1.57
+++ conga/luci/site/luci/Extensions/homebase_adapters.py 2008/02/05 20:59:38 1.58
@@ -133,6 +133,9 @@
passwd = request.form['newPassword']
pwconfirm = request.form['newPasswordConfirm']

+ if len(passwd) < 6:
+ return (False, { 'errors': [ 'Passwords must be at least six characters long.' ] })
+
if passwd != pwconfirm:
return (False, { 'errors': [ 'The passwords given do not match' ]})

@@ -203,12 +206,6 @@
except:
cur_host_trusted = not check_certs

- trust_shown = False
- try:
- trust_shown = request.form.has_key('trust_shown')
- except:
- trust_shown = False
-
cur_host_fp = None
try:
cur_host_fp = request.form['host_fingerprint'].strip()
@@ -402,12 +399,6 @@
% (e, str(e)))
errors.append('The number of systems entered could not be determined.')

- trust_shown = False
- try:
- trust_shown = request.form.has_key('trust_shown')
- except:
- trust_shown = False
-
incomplete = False
i = 0
while i < num_storage:
 
Old 04-21-2008, 06:19 PM
 
Default conga/luci/site/luci/Extensions homebase_adapt ...

CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL4
Changes by: rmccabe@sourceware.org 2008-04-21 18:19:45

Modified files:
luci/site/luci/Extensions: homebase_adapters.py

Log message:
Missed in last commit

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/homebase_adapters.py.diff?cvsroot=cluster&only_wit h_tag=RHEL4&r1=1.48.2.4&r2=1.48.2.5

--- conga/luci/site/luci/Extensions/homebase_adapters.py 2008/03/25 01:27:12 1.48.2.4
+++ conga/luci/site/luci/Extensions/homebase_adapters.py 2008/04/21 18:19:45 1.48.2.5
@@ -629,29 +629,29 @@
luci_log.debug_verbose('VAC5: %s' % err_msg)
continue

- cur_os = resolveOSType(rc.os())
- if cur_os != cluster_os:
- if LUCI_DEBUG_MODE is True:
- luci_log.debug_verbose('VAC5a: "%s" / "%s" -> "%s"'
- % (cluster_os, rc.os(), cur_os))
- incomplete = True
- cur_system['errors'] = True
-
- if not prev_auth:
- try:
- rc.unauth()
- except Exception, e:
- if LUCI_DEBUG_MODE is True:
- luci_log.debug_verbose('VAC6: %s: %r %s'
- % (cur_host, e, str(e)))
-
- err_msg = 'Node %s reports its cluster version is %s and we expect %s'
- % (cur_host, cur_os, cluster_os)
-
- errors.append(err_msg)
- if LUCI_DEBUG_MODE is True:
- luci_log.debug_verbose('VAC7: %s' % err_msg)
- continue
+ #cur_os = resolveOSType(rc.os())
+ #if cur_os != cluster_os:
+ # if LUCI_DEBUG_MODE is True:
+ # luci_log.debug_verbose('VAC5a: "%s" / "%s" -> "%s"'
+ # % (cluster_os, rc.os(), cur_os))
+ # incomplete = True
+ # cur_system['errors'] = True
+
+ # if not prev_auth:
+ # try:
+ # rc.unauth()
+ # except Exception, e:
+ # if LUCI_DEBUG_MODE is True:
+ # luci_log.debug_verbose('VAC6: %s: %r %s'
+ # % (cur_host, e, str(e)))
+
+ # err_msg = 'Node %s reports its cluster version is %s and we expect %s'
+ # % (cur_host, cur_os, cluster_os)
+
+ # errors.append(err_msg)
+ # if LUCI_DEBUG_MODE is True:
+ # luci_log.debug_verbose('VAC7: %s' % err_msg)
+ # continue
else:
incomplete = True
 

Thread Tools




All times are GMT. The time now is 04:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org