Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37563441
en ru br
ALT Linux repos
S:0.9.10-alt1
5.0: 0.9.5-alt2
4.1: 0.9.4-alt1
4.0: 0.9.2-alt0
3.0: 0.8.5-alt1

Group :: System/Configuration/Networking
RPM: smbldap-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Summary: User & Group administration tools for Samba-OpenLDAP
Name: smbldap-tools
Version: 0.9.2
Release: alt0
Group: System/Configuration/Networking
BuildArch: noarch
License: GPL
Url: http://samba.idealx.org/index.en.html
Source0: http://samba.idealx.org/dist/smbldap-tools-%version.tgz
Source1: http://samba.idealx.org/smbldap-tools.en.html
Source2: http://samba.idealx.org/smbldap-howto.en.html
Source3: smbldap-howto_20060710.pdf
Patch1: smbldap-tools-0.9.2-alt-separate_users_and_groups_in_smbldap_migrate_unix_accounts.patch
Patch2: smbldap-tools-0.9.2-fix_UTF-8_usage-alt-smbldap-usermod.patch

Requires: perl >= 5.6, samba, perl-ldap, perl-Crypt-SmbHash, perl-Digest-SHA1, perl-Unicode-MapUTF8, perl-Encode-JP, perl(FindBin.pm), perl(Getopt/Std.pm), perl(MIME/Base64.pm), perl(Net/LDAP.pm), perl(Net/LDAP/LDIF.pm), perl(Unicode/MapUTF8.pm), perl(lib.pm), perl-base
AutoReq: yes, noperl
BuildRequires: samba, perl-ldap, perl-Crypt-SmbHash, perl-Digest-SHA1, perl-Unicode-MapUTF8, perl-Encode-JP

%description
In settings with OpenLDAP and Samba-LDAP servers, this collection is
useful to add, modify and delete users and groups, and to change
Unix and Samba passwords. In those context they replace the system
tools to manage users, groups and passwords.

%prep
%setup
%patch1 -p1
%patch2 -p0
cp %SOURCE2 %SOURCE1 ./doc/
cp %SOURCE3 ./doc/smbldap-howto.pdf
echo '# idmapinplace="0"' >> smbldap.conf
%__subst "s,/opt/IDEALX/sbin,%_sbindir," *.conf configure.pl
%__subst "s,/etc/opt/IDEALX,%_sysconfdir," *.conf configure.pl smbldap-populate smbldap_tools.pm doc/smbldap-tools.en.html

%build
%install
%makeinstall
mv doc/smbldap-migrate-unix-accounts %buildroot%_sbindir/smbldap-migrate-unix-accounts
mv doc/smbldap-migrate-unix-groups %buildroot%_sbindir/smbldap-migrate-unix-groups

%files
%_sbindir/*
%doc CONTRIBUTORS COPYING ChangeLog FILES INFRA README INSTALL TODO
%doc smb.conf smbldap.conf smbldap_bind.conf configure.pl
%doc doc/html doc/smbldap-*.en.html doc/*.pdf
%defattr(644,root,root)
%config(noreplace) %_sysconfdir/smbldap-tools/smbldap.conf
%defattr(600,root,root)
%config(noreplace) %_sysconfdir/smbldap-tools/smbldap_bind.conf

%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