Quantcast

[Bug 1464090] [NEW] Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1464090] [NEW] Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Tim Landscheidt
Public bug reported:

Please backport python-ldap3 0.9.4.2-1 (universe) from utopic to
precise, trusty.

Reason for the backport:
========================
Cf. https://phabricator.wikimedia.org/T101824.

Testing:
========
Mark off items in the checklist [X] as you test them, but please leave the checklist so that backporters can quickly evaluate the state of testing.

You can test-build the backport in your PPA with backportpackage:
$ backportpackage -u ppa:<lp username>/<ppa name> -s utopic -d precise python-ldap3
$ backportpackage -u ppa:<lp username>/<ppa name> -s utopic -d trusty python-ldap3

* precise:
[X] Package builds without modification
[ ] python-ldap3 installs cleanly and runs
[ ] python3-ldap3 installs cleanly and runs
* trusty:
[X] Package builds without modification
[ ] python-ldap3 installs cleanly and runs
[ ] python3-ldap3 installs cleanly and runs

No reverse dependencies

** Affects: precise-backports
     Importance: Undecided
         Status: New

** Affects: trusty-backports
     Importance: Undecided
         Status: New

--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
https://bugs.launchpad.net/bugs/1464090

Title:
  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1464090/+subscriptions

--
ubuntu-backports mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1464090] Re: Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Tim Landscheidt
I have uploaded packages to the PPA at
https://launchpad.net/~scfc/+archive/ubuntu/trusty-backports/+packages
(contains packages for Trusty *and* Precise, sorry for the misleading
title).  They need yet to be tested for functioning.

--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1464090

Title:
  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1464090/+subscriptions

--
ubuntu-backports mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1464090] Re: Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Tim Landscheidt
In reply to this post by Tim Landscheidt
** Description changed:

  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic to
  precise, trusty.
 
  Reason for the backport:
  ========================
  Cf. https://phabricator.wikimedia.org/T101824.
 
  Testing:
  ========
  Mark off items in the checklist [X] as you test them, but please leave the checklist so that backporters can quickly evaluate the state of testing.
 
  You can test-build the backport in your PPA with backportpackage:
  $ backportpackage -u ppa:<lp username>/<ppa name> -s utopic -d precise python-ldap3
  $ backportpackage -u ppa:<lp username>/<ppa name> -s utopic -d trusty python-ldap3
 
  * precise:
- [X] Package builds without modification
+ [ ] Package builds without modification
  [ ] python-ldap3 installs cleanly and runs
  [ ] python3-ldap3 installs cleanly and runs
  * trusty:
  [X] Package builds without modification
  [ ] python-ldap3 installs cleanly and runs
  [ ] python3-ldap3 installs cleanly and runs
 
  No reverse dependencies

--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1464090

Title:
  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1464090/+subscriptions

--
ubuntu-backports mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1464090] Re: Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Tim Landscheidt
In reply to this post by Tim Landscheidt
Tested with:

| #!/usr/bin/python3
|
| import re
|
| import ldap3
|
| if __name__ == '__main__':
|     # Get user name and password.
|     with open('/etc/ldap.conf', 'r') as f:
|         for line in f.readlines():
|             if line == '\n':
|                 continue
|             m = re.match('^([^ ]+) +(.*?) *\n$', line)
|             if m.group(1) == 'binddn':
|                 binddn = m.group(2)
|             elif m.group(1) == 'bindpw':
|                 bindpw = m.group(2)
|
|     # Connect to LDAP server.
|     server = ldap3.Server('ldap-eqiad.wikimedia.org')
|     conn = ldap3.Connection(server, read_only=True,
|                             user=binddn, password=bindpw)
|     conn.bind()
|     conn.start_tls()
|
|     # Query.
|     conn.search('ou=hosts,dc=wikimedia,dc=org',
|                 '(puppetVar=instanceproject=%s)' % 'tools',
|                 ldap3.SEARCH_SCOPE_WHOLE_SUBTREE,
|                 attributes=ldap3.ALL_ATTRIBUTES)
|     for responseitem in conn.response:
|         print(repr(responseitem))

for python3-ldap3 and amending the shebang line and the print call for
python-ldap3 (Python 2).

** Changed in: trusty-backports
       Status: New => Confirmed

** Description changed:

  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic to
  precise, trusty.
 
  Reason for the backport:
  ========================
  Cf. https://phabricator.wikimedia.org/T101824.
 
  Testing:
  ========
  Mark off items in the checklist [X] as you test them, but please leave the checklist so that backporters can quickly evaluate the state of testing.
 
  You can test-build the backport in your PPA with backportpackage:
  $ backportpackage -u ppa:<lp username>/<ppa name> -s utopic -d precise python-ldap3
  $ backportpackage -u ppa:<lp username>/<ppa name> -s utopic -d trusty python-ldap3
 
  * precise:
  [ ] Package builds without modification
  [ ] python-ldap3 installs cleanly and runs
  [ ] python3-ldap3 installs cleanly and runs
  * trusty:
  [X] Package builds without modification
- [ ] python-ldap3 installs cleanly and runs
- [ ] python3-ldap3 installs cleanly and runs
+ [X] python-ldap3 installs cleanly and runs
+ [X] python3-ldap3 installs cleanly and runs
 
  No reverse dependencies

--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1464090

Title:
  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1464090/+subscriptions

--
ubuntu-backports mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1464090] Re: Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Tim Landscheidt
In reply to this post by Tim Landscheidt
Policy question: The description for the package python-ldap3 (not
python3-ldap3) in the backported version for Trusty is wrong; it refers
to "Python 3" while it should say "Python 2".  Should this mistake be
fixed as part of the backport, or should the backport only address
issues that arise from backporting the package from one release to
another?

--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1464090

Title:
  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1464090/+subscriptions

--
ubuntu-backports mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1464090] Re: Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Micah Gersten-3
In reply to this post by Tim Landscheidt
If it's not correct in the source release, it should be fixed in a
future release and then that version backported rather than fixing it in
the backport.

** Changed in: trusty-backports
       Status: Confirmed => In Progress

** Changed in: trusty-backports
     Assignee: (unassigned) => Micah Gersten (micahg)

--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1464090

Title:
  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1464090/+subscriptions

--
ubuntu-backports mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1464090] Re: Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Micah Gersten-3
In reply to this post by Tim Landscheidt
I've gone ahead and uploaded the utopic version based on testing
provided.  If you'd like a newer version (possibly when the description
gets fixed), feel free to request a new backport.  Thank you for your
interest in Ubuntu Backports.

** Changed in: trusty-backports
       Status: In Progress => Fix Released

** Changed in: trusty-backports
     Assignee: Micah Gersten (micahg) => (unassigned)

--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1464090

Title:
  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1464090/+subscriptions

--
ubuntu-backports mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1464090] Re: Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Launchpad Bug Tracker-335
In reply to this post by Tim Landscheidt
** Branch linked: lp:~ubuntu-branches/ubuntu/trusty/python-ldap3/trusty-
backports

--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1464090

Title:
  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1464090/+subscriptions

--
ubuntu-backports mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1464090] Re: Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

Tim Landscheidt
In reply to this post by Tim Landscheidt
Thanks for the backport to Trusty!  I'm no longer interested in the
Precise one.

** Changed in: precise-backports
       Status: New => Invalid

--
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Precise Backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1464090

Title:
  Please backport python-ldap3 0.9.4.2-1 (universe) from utopic

To manage notifications about this bug go to:
https://bugs.launchpad.net/precise-backports/+bug/1464090/+subscriptions

--
ubuntu-backports mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports
Loading...