Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37720950
en ru br
ALT Linux repos
S:0.9.5-alt1
5.0: 0.4-alt3.1
4.1: 0.1-alt2.M41.4

Group :: Development/Other
RPM: ldap-user-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _ldapconfdir %_sysconfdir/openldap
%define _hooksdir %_sysconfdir/hooks/hostname.d

Name: ldap-user-tools
Version: 0.4
Release: alt3.1

Summary: tools to work with ldap users
Group: Development/Other
License: GPL

Packager: Lebedev Sergey <barabashka at altlinux.org>

Source: %name-%version.tar

BuildArch: noarch
# HEREDOC code
Requires: ruby(ldap) ruby(ldap/ldif) openldap-servers perl-Crypt-SmbHash alterator-kdc
Requires: alterator-openldap-functions

%description
tools to work with ldap users

%prep
%setup

%install
for i in scripts/*; do
%__install -Dpm755 "$i" "%buildroot%_sbindir/${i##*/}"
done
install -Dpm640 data/slapd-template.conf %buildroot/%_ldapconfdir/slapd-template.conf
install -Dpm444 schema/kerberos.schema %buildroot/%_ldapconfdir/schema/kerberos.schema
install -Dpm755 bin/mkntpasswd %buildroot/%_sbindir/mkntpasswd
install -Dpm755 hooks/ldap-domain %buildroot/%_hooksdir/21-ldap-domain

%files
%_sbindir/ldap-*
%_sbindir/mkntpasswd
%_ldapconfdir/slapd-template.conf
%_ldapconfdir/schema/kerberos.schema
%_hooksdir/21-ldap-domain

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin