← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257171] Re: support conventional domain name with one or more dot

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => juno-1

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

Title:
  support conventional domain name with one or more dot

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  This is not a bug but a proposal.
  Formal domain name will have one or more dot within the name, meantime, it's common for one company own several domains, for example abc.com and abc.net. If keystone with multi-domain support only supports domain name without '.', users will have to use abc_com and/or abc_net instead, which is not as good as to use abc.com and/or abc.net.
  I made below little change to support conventional domain name use in /etc/keystone/domains/keystone.abc.com.conf and/or /etc/keystone/domains/keystone.abc.net.conf.

  # diff core.py.orig core.py
  125c125,127
  <                     if len(names) == 3:
  ---
  >                     if len(names) >= 3:
  >                         for x in range(2,len(names)-1):
  >                             names[1] += '.' + names[x]

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