Projects
Kolab:3.4
pykolab
pykolab-0.6.9-resort-unsorted-storage-order.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pykolab-0.6.9-resort-unsorted-storage-order.patch of Package pykolab (Revision 40)
Currently displaying revision
40
,
Show latest
commit 8f8236df2b81128a45185b3e4b91d24956e2a933 Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Date: Sun Nov 24 23:13:33 2013 +0100 Make sure the input domain is the first in the storage order (#2585) diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py index 2681160..66c5d41 100644 --- a/pykolab/setup/setup_ldap.py +++ b/pykolab/setup/setup_ldap.py @@ -587,6 +587,8 @@ ServerAdminPwd = %(admin_pass)s # De-duplicate attribute values before attempting to insert the object (#2205) attrs['associateddomain'] = list(set(attrs['associateddomain'])) + attrs['associateddomain'].pop(attrs['associateddomain'].index(_input['domain'])) + attrs['associateddomain'] = [ _input['domain'] ] + attrs['associateddomain'] attrs['aci'] = '(targetattr = "*") (version 3.0;acl "Read Access for %(domain)s Users";allow (read,compare,search)(userdn = "ldap:///%(rootdn)s??sub?(objectclass=*)");)' % (_input)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.