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
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