Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ldap-yp-tools for openSUSE:Factory checked in at 2023-07-27 16:53:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ldap-yp-tools (Old) and /work/SRC/openSUSE:Factory/.ldap-yp-tools.new.32662 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ldap-yp-tools" Thu Jul 27 16:53:04 2023 rev:2 rq:1101023 version:1.13 Changes: -------- --- /work/SRC/openSUSE:Factory/ldap-yp-tools/ldap-yp-tools.changes 2022-01-25 17:37:47.301624292 +0100 +++ /work/SRC/openSUSE:Factory/.ldap-yp-tools.new.32662/ldap-yp-tools.changes 2023-07-27 16:53:18.818663517 +0200 @@ -1,0 +2,7 @@ +Thu Jul 27 08:42:14 UTC 2023 - Dr. Werner Fink <wer...@suse.de> + +- Extend patch ldap-yp-tools-1.13.dif + * Net::LDAP() seems to require scheme for ldaps service over + port 636 otherwise the connection fails + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ldap-yp-tools.spec ++++++ --- /var/tmp/diff_new_pack.j6cpQk/_old 2023-07-27 16:53:19.498667359 +0200 +++ /var/tmp/diff_new_pack.j6cpQk/_new 2023-07-27 16:53:19.506667405 +0200 @@ -1,7 +1,7 @@ # # spec file for package ldap-yp-tools # -# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ Summary: LDAP YP Tools License: BSD-2-Clause Group: Applications/Internet -Url: https://downloads.sourceforge.net/project/%{name}/ +URL: https://downloads.sourceforge.net/project/%{name}/ Source: https://downloads.sourceforge.net/project/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz Patch0: ldap-yp-tools-1.13.dif BuildRequires: openldap2-devel @@ -36,8 +36,6 @@ %description LDAP equivalents of yp tools ypcat, ypmatch and chsh -%debug_package - %prep %setup -q %patch0 ++++++ ldap-yp-tools-1.13.dif ++++++ --- /var/tmp/diff_new_pack.j6cpQk/_old 2023-07-27 16:53:19.526667518 +0200 +++ /var/tmp/diff_new_pack.j6cpQk/_new 2023-07-27 16:53:19.530667540 +0200 @@ -1,6 +1,7 @@ --- - common/common.h | 4 ++++ - 1 file changed, 4 insertions(+) + common/common.h | 4 ++++ + ldapcat/ldapcat.in | 4 ++++ + 2 files changed, 8 insertions(+) --- common/common.h +++ common/common.h 2022-01-25 09:39:42.244333821 +0000 @@ -15,4 +16,28 @@ LDAP *ldap_connect(LDAPConfig * config); void free_ldap_user_entry(USEREntry * user); USEREntry *get_ldap_user_entry(LDAP * ld, LDAPConfig * config, char *uid); +--- ldapcat/ldapcat.in ++++ ldapcat/ldapcat.in 2023-07-27 08:37:31.723526531 +0000 +@@ -771,6 +771,7 @@ sub ldap_connect + my $port = shift; + + my $fqdn; ++ my $scheme = 'ldap'; + my ($ldap, $result); + my ($binddn, $bindpw); + +@@ -798,10 +799,13 @@ sub ldap_connect + return undef; + } + ++ $scheme = 'ldaps' if ($port != 389); ++ + # Simple authentication to LDAP + if (!($ldap = new Net::LDAP( + $server, + port => $port, ++ scheme => $scheme, + version => 3, + ))) { + $@ = "Unable to init for $server: $@\n";