[1218] | 1 | Summary: A script for synchronizing two LDAP trees
|
---|
| 2 | Name: dassldapsync
|
---|
| 3 | Version: 1.5
|
---|
| 4 | Release: 1%{?dist}
|
---|
| 5 | License: Apache
|
---|
| 6 | Group: other
|
---|
| 7 | BuildArch: noarch
|
---|
| 8 | URL: http://www.dass-it.de/dassldapsync
|
---|
| 9 |
|
---|
| 10 | Source: %{name}_%{version}.tar.gz
|
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
---|
| 12 |
|
---|
| 13 | Requires: python >= 2.6
|
---|
| 14 | Requires: python-ldap
|
---|
| 15 | %description
|
---|
| 16 | This script compares two different LDAP subtrees and makes
|
---|
| 17 | the according changes on objects in the destination subtree.
|
---|
| 18 | Missing objects are created, extraneous objects are deleted.
|
---|
| 19 | The two subtrees can reside on two different LDAP servers.
|
---|
| 20 | It is also possible to use an LDIF file as the source subtree.
|
---|
| 21 |
|
---|
| 22 | %prep
|
---|
| 23 | %setup -n dassldapsync
|
---|
| 24 |
|
---|
| 25 | %build
|
---|
| 26 | %install
|
---|
| 27 | mkdir -p "%{buildroot}/usr/sbin"
|
---|
| 28 | mkdir -p "%{buildroot}/etc/"
|
---|
| 29 | install -m 644 dassldapsync.conf %{buildroot}/etc/dassldapsync.conf
|
---|
| 30 | install -m 755 dassldapsync.py %{buildroot}/usr/sbin/dassldapsync
|
---|
| 31 | %clean
|
---|
| 32 | %{__rm} -rf %{buildroot}
|
---|
| 33 |
|
---|
| 34 | %files
|
---|
| 35 | %defattr(-,root,root)
|
---|
| 36 | %config /etc/dassldapsync.conf
|
---|
| 37 | /usr/sbin/dassldapsync
|
---|
| 38 | %changelog
|
---|
| 39 | * Wed Mar 05 2014 Sebastian Lederer slederer@dass-it.de 1.5
|
---|
| 40 | - now also works if pwd_max_days is not specified in
|
---|
| 41 | the configuration file
|
---|
| 42 | * Wed Mar 05 2014 Sebastian Lederer slederer@dass-it.de 1.4
|
---|
| 43 | - add special hack to lock accounts on the destination
|
---|
| 44 | if the password on the source side has expired via ppolicy
|
---|
| 45 | overlay
|
---|
| 46 | * Tue Jan 28 2014 Sebastian Lederer slederer@dass-it.de 1.3
|
---|
| 47 | - add configuration option to exclude subtree on substring match
|
---|
| 48 | * Tue Jan 28 2014 Sebastian Lederer slederer@dass-it.de 1.2
|
---|
| 49 | - continue on error when creating objects
|
---|
| 50 | * Tue Jan 28 2014 Sebastian Lederer slederer@dass-it.de 1.1
|
---|
| 51 | - workaround for buggy LDIF file (duplicate objectClass value)
|
---|
| 52 | * Mon Jan 13 2014 Sebastian Lederer slederer@dass-it.de 1.0
|
---|
| 53 | - first attempt at an RPM package
|
---|