Hi,
I build newer versions of openldap in the SuSE Build Service.
2.4.39 is installed on the SLES 11 SP 3 machine.
(I used ansible for this, great tool, have a look at it, if you have not used any configuration management tool before!)
# rpm -qa | grep openldap
openldap2-2.4.39-0
openldap2-client-2.4.39-0
I build 2.4.40 and copied the files to my http repo.
Unfortunatly my ansible script does not update.
[CODE] tasks:
- name: install LDAP RPMs
zypper: name={{ item }} state=latest disable_gpg_check=yes
with_items:- libdb-4_8
- openldap2-client
- libldap-2_4-2
- libldap-2_4-2-32bit
- openldap2
[/CODE]
I checked with zypper on the machine:
[CODE]# zypper up openldap2
Loading repository data…
Reading installed packages…
Resolving package dependencies…
The following packages are going to be upgraded:
libldap-2_4-2 openldap2 openldap2-client
The following packages are not supported by their vendor:
libldap-2_4-2 openldap2 openldap2-client
3 packages to upgrade.
Overall download size: 1.5 MiB. After the operation, 1.6 MiB will be freed.
Continue? [y/n/? shows all options] (y): n
[/CODE]
The new rpms are found. But zypper warns with “are not supported by their vendor”.
I think this prevends ansible from automatically update the rpms.
I have a vendors file for obs created before
# cat "/etc/zypp/vendors.d/obs"
vendors = obs://build.opensuse.org
[CODE]# zypper if openldap2
Loading repository data…
Reading installed packages…
Information for package openldap2:
Repository: Netzdienste Repo
Name: openldap2
Version: 2.4.40-0
Arch: x86_64
Vendor: obs://build.opensuse.org/home:MoserHans
Support Level: unknown
Installed: Yes
Status: out-of-date (version 2.4.39-0 installed)
Installed Size: 3.1 MiB
Summary: The OpenLDAP Server
Description:
The Lightweight Directory Access Protocol (LDAP) is used to access
online directory services. It runs directly over TCP and can be used to
access a stand-alone LDAP directory service or to access a directory
service that has an X.500 back-end.
:~ # rpm -qi openldap2
Name : openldap2 Relocations: (not relocatable)
Version : 2.4.39 Vendor: obs://build.opensuse.org/home:MoserHans
Release : 0 Build Date: Tue 10 Jun 2014 03:44:28 PM CEST
Install Date: Mon 17 Nov 2014 03:27:19 PM CET Build Host: buildhost-sp3
Group : Productivity/Networking/LDAP/Clients Source RPM: openldap2-2.4.39-0.src.rpm
Size : 4936865 License: OLDAP-2.8
Signature : (none)
URL : http://www.openldap.org
Summary : The OpenLDAP Server
Description :
The Lightweight Directory Access Protocol (LDAP) is used to access
online directory services. It runs directly over TCP and can be used to
access a stand-alone LDAP directory service or to access a directory
service that has an X.500 back-end.
Distribution: home:MoserHans:branches:network:ldap / SLE_11_SP3
[/CODE]
What am I missing?