mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
Case sensitive renaming of objects
When renaming object its case sensitivity is obeyed. This was DS bug. Unit tests were corrected and minimal DS version was updated in spec file. https://fedorahosted.org/freeipa/ticket/2620
This commit is contained in:
parent
1235dfa7bf
commit
f298a20d27
@ -96,7 +96,11 @@ Requires: %{name}-python = %{version}-%{release}
|
||||
Requires: %{name}-client = %{version}-%{release}
|
||||
Requires: %{name}-admintools = %{version}-%{release}
|
||||
Requires: %{name}-server-selinux = %{version}-%{release}
|
||||
Requires(pre): 389-ds-base >= 1.2.10.4-2
|
||||
%if 0%{?fedora} >= 17
|
||||
Requires(pre): 389-ds-base >= 1.2.11.5-1
|
||||
%else
|
||||
Requires(pre): 389-ds-base >= 1.2.10.10-1
|
||||
%endif
|
||||
Requires: openldap-clients
|
||||
Requires: nss
|
||||
Requires: nss-tools
|
||||
@ -713,6 +717,10 @@ fi
|
||||
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ca.crt
|
||||
|
||||
%changelog
|
||||
* Wed Jun 20 2012 Ondrej Hamada <ohamada@redhat.com> - 2.99.0-33
|
||||
- Set min for 389-ds-base to 1.2.11.5-1 on F17 to fix installation issue
|
||||
- Set min for 389-ds-base to 1.2.10.10-1 on F16 (and lower) to fix CN case persistence
|
||||
|
||||
* Fri Jun 8 2012 Martin Kosek <mkosek@redhat.com> - 2.99.0-32
|
||||
- Add directory /var/lib/ipa/sysupgrade for package upgrade metadata
|
||||
- Set min for bind-dyndb-ldap to 1.1.0-0.12.rc1 to pick up persistent search
|
||||
|
@ -37,7 +37,7 @@ permission1_renamed_dn = DN(('cn',permission1_renamed),
|
||||
api.env.container_permission,api.env.basedn)
|
||||
|
||||
permission1_renamed_ucase = u'Testperm_RN'
|
||||
permission1_renamed_ucase_dn = DN(('cn',permission1_renamed_ucase.lower()),
|
||||
permission1_renamed_ucase_dn = DN(('cn',permission1_renamed_ucase),
|
||||
api.env.container_permission,api.env.basedn)
|
||||
|
||||
|
||||
@ -592,7 +592,7 @@ class test_permission(Declarative):
|
||||
summary=u'Modified permission "%s"' % permission1_renamed,
|
||||
result={
|
||||
'dn': lambda x: DN(x) == permission1_renamed_ucase_dn,
|
||||
'cn': [permission1_renamed_ucase.lower()],
|
||||
'cn': [permission1_renamed_ucase],
|
||||
'member_privilege': [privilege1],
|
||||
'type': u'user',
|
||||
'permissions': [u'write'],
|
||||
@ -612,7 +612,7 @@ class test_permission(Declarative):
|
||||
summary=u'Modified permission "%s"' % permission1_renamed_ucase,
|
||||
result=dict(
|
||||
dn=lambda x: DN(x) == permission1_renamed_ucase_dn,
|
||||
cn=[permission1_renamed_ucase.lower()],
|
||||
cn=[permission1_renamed_ucase],
|
||||
member_privilege=[privilege1],
|
||||
subtree=u'ldap:///cn=*,cn=test,cn=accounts,%s' % api.env.basedn,
|
||||
permissions=[u'write'],
|
||||
@ -632,7 +632,7 @@ class test_permission(Declarative):
|
||||
result=[
|
||||
{
|
||||
'dn':lambda x: DN(x) == permission1_renamed_ucase_dn,
|
||||
'cn':[permission1_renamed_ucase.lower()],
|
||||
'cn':[permission1_renamed_ucase],
|
||||
'member_privilege':[privilege1],
|
||||
'subtree':u'ldap:///cn=*,cn=test,cn=accounts,%s' % api.env.basedn,
|
||||
'permissions':[u'write'],
|
||||
|
Loading…
Reference in New Issue
Block a user