"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/cmd/doctor/ldap.py" between
keystone-17.0.0.tar.gz and keystone-18.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (latest release).

ldap.py  (keystone-17.0.0):ldap.py  (keystone-18.0.0)
skipping to change at line 13 skipping to change at line 13
# a copy of the License at # a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from __future__ import print_function
import os import os
import re import re
import configparser import configparser
import keystone.conf import keystone.conf
CONF = keystone.conf.CONF CONF = keystone.conf.CONF
CONFIG_REGEX = '^keystone\..*?\.conf$' CONFIG_REGEX = r'^keystone\..*?\.conf$'
def symptom_LDAP_user_enabled_emulation_dn_ignored(): def symptom_LDAP_user_enabled_emulation_dn_ignored():
"""`[ldap] user_enabled_emulation_dn` is being ignored. """`[ldap] user_enabled_emulation_dn` is being ignored.
There is no reason to set this value unless `keystone.conf [ldap] There is no reason to set this value unless `keystone.conf [ldap]
user_enabled_emulation` is also enabled. user_enabled_emulation` is also enabled.
""" """
return ( return (
not CONF.ldap.user_enabled_emulation not CONF.ldap.user_enabled_emulation
and CONF.ldap.user_enabled_emulation_dn is not None) and CONF.ldap.user_enabled_emulation_dn is not None)
 End of changes. 2 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)