← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1282812] [NEW] default value for user_enabled_default is confusingly 'True'

 

Public bug reported:

The default value for user_enabled_default is 'True', but the code
appears to want it to be an int, from ldap.py:

 enabled = int(obj.get('enabled', self.enabled_default))

Since True in python is 1, I think changing all the examples and sample
conf to '1' would make sense. Am happy to fix this once I get a 2nd
opinion.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1282812

Title:
  default value for user_enabled_default is confusingly 'True'

Status in OpenStack Identity (Keystone):
  New

Bug description:
  The default value for user_enabled_default is 'True', but the code
  appears to want it to be an int, from ldap.py:

   enabled = int(obj.get('enabled', self.enabled_default))

  Since True in python is 1, I think changing all the examples and
  sample conf to '1' would make sense. Am happy to fix this once I get a
  2nd opinion.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1282812/+subscriptions


Follow ups

References