cvsdist f46930a
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
cvsdist f46930a
%define WITH_SELINUX 1
cvsdist f46930a
%endif
cee23a2
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
cvsdist 8f169e0
cvsdist 75e69b4
Name: libuser
1d7024a
Version: 0.56.6
25270c4
Release: 2
cvsdist 75e69b4
Group: System Environment/Base
b9cc300
License: LGPLv2+
e0fa05d
Source: libuser-%{version}.tar.bz2
cvsdist 75e69b4
BuildRoot: %{_tmppath}/%{name}-root
7bdb80d
BuildRequires: glib2-devel, linuxdoc-tools, pam-devel, popt-devel, python-devel
9aff46e
BuildRequires: cyrus-sasl-devel, openldap-devel
9aff46e
%if %{WITH_SELINUX}
9aff46e
BuildRequires: libselinux-devel
9aff46e
%endif
06b2106
Summary: A user and group account administration library
cvsdist 75e69b4
cvsdist 75e69b4
%description
cvsdist 75e69b4
The libuser library implements a standardized interface for manipulating
cvsdist 8f169e0
and administering user and group accounts.  The library uses pluggable
cvsdist 8f169e0
back-ends to interface to its data sources.
cvsdist 75e69b4
cvsdist 75e69b4
Sample applications modeled after those included with the shadow password
cvsdist 75e69b4
suite are included.
cvsdist 75e69b4
cvsdist 75e69b4
%package devel
cvsdist 75e69b4
Group: Development/Libraries
06b2106
Summary: Files needed for developing applications which use libuser
cvsdist 0a7b012
Requires: %{name} = %{version}-%{release}
eb01102
Requires: glib2-devel
cvsdist 75e69b4
cvsdist 75e69b4
%description devel
cvsdist 8f169e0
The libuser-devel package contains header files, static libraries, and other
cvsdist 75e69b4
files useful for developing applications with libuser.
cvsdist 75e69b4
b9cc300
%package python
b9cc300
Summary: Python bindings for the libuser library
b9cc300
Group: Development/Libraries
b9cc300
Requires: libuser = %{version}-%{release}
b9cc300
b9cc300
%description python
b9cc300
The libuser-python package contains the Python bindings for
b9cc300
the libuser library, which provides a Python API for manipulating and
b9cc300
administering user and group accounts.
b9cc300
cvsdist 75e69b4
%prep
cvsdist 75e69b4
%setup -q
cvsdist 75e69b4
cvsdist 75e69b4
%build
ea456d6
%configure \
cvsdist 0619df7
%if %{WITH_SELINUX}
cvsdist 0619df7
	--with-selinux \
cvsdist 0619df7
%endif
cvsdist 8f169e0
	--with-ldap \
2902f1e
	--with-html-dir=%{_datadir}/gtk-doc/html
cvsdist 75e69b4
make
cvsdist 75e69b4
cvsdist 75e69b4
%clean
cvsdist 75e69b4
rm -fr $RPM_BUILD_ROOT
cvsdist 75e69b4
cvsdist 75e69b4
%install
cvsdist 75e69b4
rm -fr $RPM_BUILD_ROOT
cvsdist 8f169e0
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 242abfd
cvsdist 8f169e0
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}:${LD_LIBRARY_PATH}
cvsdist 685c263
export LD_LIBRARY_PATH
cvsdist 8f169e0
cvsdist 8f169e0
# Verify that all python modules load, just in case.
cee23a2
pushd $RPM_BUILD_ROOT/%{python_sitearch}
cee23a2
python -c "import libuser"
cvsdist 242abfd
popd
cvsdist 242abfd
cvsdist 0a7b012
%find_lang %{name}
cvsdist 75e69b4
eb01102
%post -p /sbin/ldconfig
cvsdist 75e69b4
eb01102
%postun -p /sbin/ldconfig
cvsdist 75e69b4
cvsdist 0a7b012
%files -f %{name}.lang
cvsdist 75e69b4
%defattr(-,root,root)
b9cc300
%doc AUTHORS COPYING NEWS README TODO docs/*.txt
cvsdist 0a7b012
%config(noreplace) %{_sysconfdir}/libuser.conf
cvsdist 0a7b012
cvsdist 0a7b012
%attr(0755,root,root) %{_bindir}/*
ca41e24
%{_libdir}/*.so.*
2902f1e
%dir %{_libdir}/%{name}
2902f1e
%{_libdir}/%{name}/*.so
cvsdist 0a7b012
%attr(0755,root,root) %{_sbindir}/*
2902f1e
%{_mandir}/man1/*
2b29758
%{_mandir}/man5/*
cvsdist 75e69b4
ca41e24
%exclude %{_libdir}/*.la
ca41e24
%exclude %{_libdir}/%{name}/*.la
b9cc300
b9cc300
%files python
b9cc300
%defattr(-,root,root)
b9cc300
%doc python/modules.txt
b9cc300
%{python_sitearch}/*.so
cee23a2
%exclude %{python_sitearch}/*.la
ca41e24
cvsdist 75e69b4
%files devel
cvsdist 75e69b4
%defattr(-,root,root)
2902f1e
%{_includedir}/libuser
2902f1e
%{_libdir}/*.so
2902f1e
%{_libdir}/pkgconfig/*
cvsdist 8f169e0
%{_datadir}/gtk-doc/html/*
cvsdist 75e69b4
cvsdist 75e69b4
%changelog
25270c4
* Tue Dec  4 2007 Miloslav Trmač <mitr@redhat.com> - 0.56.6-2
25270c4
- Rebuild for openldap-2.4.
25270c4
1d7024a
* Thu Oct 25 2007 Miloslav Trmač <mitr@redhat.com> - 0.56.6-1
1d7024a
- Set SELinux file contexts when creating home directories, preserve them when
1d7024a
  moving home directories
1d7024a
  Resolves: #351201
1d7024a
584dbbe
* Thu Oct 11 2007 Miloslav Trmač <mitr@redhat.com> - 0.56.5-1
584dbbe
- Work around spurious error messages when run against the Fedora Directory
584dbbe
  server
584dbbe
- Fix error reporting when creating home directories and creating/removing mail
584dbbe
  spool files
584dbbe
  Resolves: #318121
584dbbe
7bdb80d
* Wed Sep  5 2007 Miloslav Trmač <mitr@redhat.com> - 0.56.4-3
7bdb80d
- s/popt/popt-devel/ in BuildRequires
7bdb80d
  Resolves: #277541
7bdb80d
b9cc300
* Wed Aug  8 2007 Miloslav Trmač <mitr@redhat.com> - 0.56.4-2
b9cc300
- Split the Python module to a separate subpackage (original patch by Yanko
b9cc300
  Kaneti)
b9cc300
- Update the License: tag
b9cc300
6b57c41
* Fri Jun 15 2007 Miloslav Trmač <mitr@redhat.com> - 0.56.4-1
6b57c41
- Update the last password change date field when changing passwords
6b57c41
  Resolves: #243854
6b57c41
9f48158
* Sat Jun  9 2007 Miloslav Trmač <mitr@redhat.com> - 0.56.3-1
9f48158
- Allow specifying a SASL mechanism (original patch by Simo Sorce)
9f48158
  Resolves: #240904
9f48158
a0c1e33
* Thu Apr 19 2007 Miloslav Trmac <mitr@redhat.com> - 0.56.2-1
a0c1e33
- New release with updated translations
a0c1e33
bcc73ff
* Fri Feb 23 2007 Miloslav Trmac <mitr@redhat.com> - 0.56.1-1
bcc73ff
- When changing passwords, only silently ignore know shadow markers, not all
bcc73ff
  invalid hashes
bcc73ff
  Resolves: #225495
bcc73ff
e0fa05d
* Sat Feb 17 2007 Miloslav Trmac <mitr@redhat.com> - 0.56-1
e0fa05d
- Tighten the API and implementation to avoid corrupting number-like strings;
e0fa05d
  the module interface ABI has changed
e0fa05d
  Resolves: #226976
e0fa05d
ee34c47
* Sat Jan  6 2007 Jeremy Katz <katzj@redhat.com> - 0.55-2
ee34c47
- Fix inconsistent PyObject/PyMem usage (#220679)
ee34c47
06b2106
* Sun Dec 10 2006 Miloslav Trmac <mitr@redhat.com> - 0.55-1
06b2106
- Update to support the 64-bit API of Python 2.5
06b2106
- Drop the quota library and Python module
06b2106
cee23a2
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 0.54.8-2
cee23a2
- rebuild against python2.5
cee23a2
- follow python packaging guidelines
cee23a2
7b29958
* Thu Nov  2 2006 Miloslav Trmac <mitr@redhat.com> - 0.54.8-1
9b530f5
- Add importing of HOME from default/useradd
9b530f5
  Related: #204707
7b29958
f1a19b4
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 0.54.7-2
f1a19b4
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
f1a19b4
91ea6cb
* Mon Sep 25 2006 Miloslav Trmac <mitr@redhat.com> - 0.54.7-1
91ea6cb
- New release with updated translations
91ea6cb
7265ea5
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.54.6-2.1
7265ea5
- rebuild
7265ea5
ea456d6
* Wed Jun  7 2006 Miloslav Trmac <mitr@redhat.com> - 0.54.6-2
ea456d6
- Configure without --enable-gtk-doc to fix multilib conflict (#192715)
ea456d6
a0b2a1e
* Mon May  1 2006 Miloslav Trmac <mitr@redhat.com> - 0.54.6-1
a0b2a1e
- Fix bugs in handling of invalid lines in the files and shadow modules
a0b2a1e
- Fix pattern matching in lu_*_enumerate_full in the files and shadow modules
a0b2a1e
- Add more error reporting, return non-zero exit status on error from utils
a0b2a1e
- Use the skeleton directory specified in libuser.conf by Python
a0b2a1e
  admin.createHome and admin.addUser, add parameter skeleton= to admin.addUser
a0b2a1e
  (#189984)
a0b2a1e
0bace58
* Tue Feb 21 2006 Miloslav Trmac <mitr@redhat.com> - 0.54.5-1
0bace58
- Fix multilib conflict on libuser.conf.5
0bace58
abea1ab
* Mon Feb 13 2006 Miloslav Trmac <mitr@redhat.com> - 0.54.4-1
abea1ab
- New release with updated translations
abea1ab
b0cdba5
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.54.3-1.2.1
b0cdba5
- bump again for double-long bug on ppc(64)
b0cdba5
5f7d980
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.54.3-1.2
5f7d980
- rebuilt for new gcc4.1 snapshot and glibc changes
5f7d980
dcf1e0c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
dcf1e0c
- rebuilt
dcf1e0c
0d32756
* Fri Dec  2 2005 Miloslav Trmac <mitr@redhat.com> - 0.54.3-1
0d32756
- Fix crash in lpasswd when user is not specified (#174801)
0d32756
9265533
* Fri Nov 11 2005 Miloslav Trmac <mitr@redhat.com> - 0.54.2-1
9265533
- Avoid using deprecated openldap functions
9265533
0dba8c6
* Fri Nov 11 2005 Miloslav Trmac <mitr@redhat.com> - 0.54.1-2
0dba8c6
- Rebuild with newer openldap
0dba8c6
2b29758
* Tue Oct 11 2005 Miloslav Trmac <mitr@redhat.com> - 0.54.1-1
2b29758
- Support importing of configuration from shadow-utils (/etc/login.defs and
2b29758
  /etc/default/useradd)
2b29758
- Add libuser.conf(5) man page
2b29758
d600e1c
* Wed Oct  5 2005 Matthias Clasen <mclasen@redhat.com> - 0.54-2
d600e1c
- Use gmodule-no-export in the .pc file
d600e1c
521ffb2
* Tue Sep 13 2005 Miloslav Trmac <mitr@redhat.com> - 0.54-1
521ffb2
- Make sure attributes with no values can never appear
521ffb2
- Fix crash in the "files" module when an attribute is missing
521ffb2
- Use hidden visibility for internal functions, remove them from
521ffb2
  libuser/user_private.h; this changes module interface ABI
521ffb2
ca41e24
* Wed Jun  8 2005 Miloslav Trmac <mitr@redhat.com> - 0.53.8-1
ca41e24
- Permit "portable" user and group names as defined by SUSv3, plus trailing $
ca41e24
  (#159452)
ca41e24
- Don't build static libraries
ca41e24
dc28d1d
* Sat Apr 30 2005 Miloslav Trmac <mitr@redhat.com> - 0.53.7-1
dc28d1d
- Rebuild with updated translations, add missing translations.
dc28d1d
b9b6eaf
* Sun Apr 24 2005 Miloslav Trmac <mitr@redhat.com> - 0.53.6-1
b9b6eaf
- Allow empty configuration values (#155402)
b9b6eaf
d9d4ee6
* Fri Apr 15 2005 Miloslav Trmac <mitr@redhat.com> - 0.53.5-1
9aff46e
- Ignore nss_compat lines in the "files" module (#154651)
9aff46e
- Autodetect Python version (#154096)
9aff46e
- Add BuildRequires: libselinux-devel, s/BuildPrereq/BuildRequires/
9aff46e
fcfabdc
* Wed Apr  6 2005 Miloslav Trmac <mitr@redhat.com> - 0.53.4-1
fcfabdc
- Fix adding objectclasses to existing LDAP entries (#152960)
fcfabdc
eb01102
* Wed Mar 30 2005 Miloslav Trmac <mitr@redhat.com> - 0.53.3-2
eb01102
- Add Requires: glib2-devel to libuser-devel (#152501)
eb01102
- Run ldconfig using %%post{,un} -p to let RPM play tricks
eb01102
dd8d353
* Sat Mar  5 2005 Miloslav Trmac <mitr@redhat.com> - 0.53.3-1
dd8d353
- Don't silently ignore some I/O errors
dd8d353
- Don't include a Cyrus SASL v1 header file when libldap links to v2 (#150046)
dd8d353
- Rebuild with gcc 4
dd8d353
2a88cfa
* Mon Jan 17 2005 Miloslav Trmac <mitr@redhat.com> - 0.53.2-1
2a88cfa
- Important bug fixes in lchage, lgroupmod, lnewusers and lusermod
2a88cfa
- Minor bug fixes in lpasswd and luseradd
2a88cfa
- Add man pages for the utilities (#61673)
2a88cfa
f38066c
* Mon Dec 13 2004 Miloslav Trmac <mitr@redhat.com> - 0.53.1-1
f38066c
- Export UT_NAMESIZE from <utmp.h> to Python (#141273)
f38066c
fb4a05d
* Sun Nov 14 2004 Miloslav Trmac <mitr@redhat.com> - 0.53-1
fb4a05d
- Support UID and GID values larger than LONG_MAX (#124967)
fb4a05d
- Fix updating of groups after user renaming in lusermod
fb4a05d
- Allow setting a shadow password even if the current shadow password is
fb4a05d
  invalid (#131180)
fb4a05d
- Add lu_{user,group}_unlock_nonempty (#86414); module interface ABI has 
fb4a05d
  changed
fb4a05d
- Miscellaneous bug and memory leak fixes
fb4a05d
68b0f21
* Mon Nov  8 2004 Jeremy Katz <katzj@redhat.com> - 0.52.6-2
68b0f21
- rebuild against python 2.4
68b0f21
8407cee
* Tue Nov  2 2004 Miloslav Trmac <mitr@redhat.com> - 0.52.6-1
8407cee
- Make error reporting more consistent, more verbose and always on stderr
8407cee
  (partly #133861, original patch by Pawel Salek)
8407cee
- Mark strings previously blocked by string freeze for translation
8407cee
0e99601
* Tue Oct 12 2004 Miloslav Trmac <mitr@redhat.com> - 0.52.5-1
0e99601
- Fix home directory renaming in ADMIN.modifyUser (#135280)
0e99601
- Further Python reference counting fixes
0e99601
8d53065
* Sun Oct 10 2004 Miloslav Trmac <mitr@redhat.com> - 0.52.4-1
8d53065
- Fix memory leaks (#113730)
8d53065
- Build with updated translations
8d53065
60203be
* Wed Sep 29 2004 Miloslav Trmac <mitr@redhat.com> - 0.52.3-1
60203be
- Fix compilation without libuser headers already installed (#134085)
60203be
9aed3fb
* Tue Sep 28 2004 Miloslav Trmac <mitr@redhat.com> - 0.52.2-1
9aed3fb
- Allow LDAP connection using ldaps, custom ports or without TLS (original
9aed3fb
  patch from Pawel Salek).
9aed3fb
d7cf358
* Mon Sep 27 2004 Miloslav Trmac <mitr@redhat.com> - 0.52.1-1
d7cf358
- Fix freecon() of uninitialized value in files/shadow module
d7cf358
d7cf358
* Mon Sep 27 2004 Miloslav Trmac <mitr@redhat.com> - 0.52-1
d7cf358
- Usable LDAP backend (#68052, #99435, #130404)
d7cf358
- Miscellaneous bug fixes
d7cf358
001b3ec
* Fri Sep 24 2004 Miloslav Trmac <mitr@redhat.com> - 0.51.12-1
001b3ec
- Don't claim success and exception at the same time (#133479)
001b3ec
- LDAP fixes, second round
001b3ec
- Various other bugfixes
001b3ec
2902f1e
* Thu Sep 23 2004 Miloslav Trmac <mitr@redhat.com> - 0.51.11-1
2902f1e
- Allow documented optional arguments in Python
2902f1e
  ADMIN.{addUser,modifyUser,deleteUser} (#119812)
2902f1e
- Add man pages for lchfn and lchsh
2902f1e
- LDAP fixes, first round
2902f1e
- Avoid file conflict on multilib systems
2902f1e
- Call ldconfig correctly
2902f1e
cvsdist 0619df7
* Fri Sep  3 2004 Miloslav Trmac <mitr@redhat.com> - 0.51.10-1
cvsdist 0619df7
- Don't attempt to lookup using original entity name after entity
cvsdist 0619df7
  modification (rename in particular) (#78376, #121252)
cvsdist 0619df7
- Fix copying of symlinks from /etc/skel (#87572, original patch from gLaNDix)
cvsdist 0619df7
- Make --enable-quota work, and fix the quota code to at least compile (#89114)
cvsdist 0619df7
- Fix several bugs (#120168, original patch from Steve Grubb)
cvsdist 0619df7
- Don't hardcode python version in spec file (#130952, from Robert Scheck)
cvsdist 0619df7
- Properly integrate the SELinux patch, it should actually be used now, even
cvsdist 0619df7
  though it was "enabled" since 0.51.7-6
cvsdist 0619df7
cvsdist 0619df7
* Tue Aug 31 2004 Miloslav Trmac <mitr@redhat.com> - 0.51.9-1
cvsdist 44b87b4
- Fix various typos
cvsdist 44b87b4
- Document library interfaces
cvsdist 44b87b4
- Build all shared libraries with -fPIC (#72536)
cvsdist 44b87b4
cvsdist 44b87b4
* Wed Aug 25 2004 Miloslav Trmac <mitr@redhat.com> - 0.51.8-1
cvsdist b17e1d6
- Update to build with latest autotools and gtk-doc
cvsdist b17e1d6
- Update ALL_LINGUAS and POTFILES.in
cvsdist b17e1d6
- Rebuild to depend on newer openldap
cvsdist 6e5ffdf
cvsdist f46930a
* Mon Jan 26 2004 Dan Walsh <dwalsh@redhat.com> 0.51.7-7
cvsdist f46930a
- fix is_selinux_enabled call
cvsdist f46930a
cvsdist f46930a
* Sun Dec 14 2003 Jeremy Katz <katzj@redhat.com> 0.51.7-6
cvsdist f46930a
- rebuild against python 2.3
cvsdist f46930a
- enable SELinux
cvsdist f46930a
cvsdist f46930a
* Mon Sep 08 2003 Dan Walsh <dwalsh@redhat.com> 0.51.7-5
cvsdist f46930a
- Turn off SELinux 
cvsdist f46930a
cvsdist f46930a
* Wed Aug 06 2003 Dan Walsh <dwalsh@redhat.com> 0.51.7-3
cvsdist f46930a
- Add SELinux support
cvsdist 2dde56a
cvsdist a667421
* Wed Feb 19 2003 Nalin Dahyabhai <nalin@redhat.com> 0.51.7-1
cvsdist a667421
- ldap: set error codes correctly when we encounter failures initializing
cvsdist a667421
- don't double-close modules which fail initialization
cvsdist a667421
- ldap: don't set an error in cases where one is already set
cvsdist a667421
cvsdist a667421
* Tue Feb 18 2003 Nalin Dahyabhai <nalin@redhat.com> 0.51.6-1
cvsdist a667421
- use a crypt salt consistent with the defaults/crypt_style setting when
cvsdist a667421
  setting new passwords (#79337)
cvsdist a667421
cvsdist a667421
* Thu Feb  6 2003 Nalin Dahyabhai <nalin@redhat.com> 0.51.5-2
cvsdist a667421
- rebuild
cvsdist a667421
cvsdist a667421
* Wed Feb  5 2003 Nalin Dahyabhai <nalin@redhat.com> 0.51.5-1
cvsdist a667421
- expose lu_get_first_unused_id() as a package-private function
cvsdist a667421
- provide libuser.ADMIN.getFirstUnusedUid and libuser.ADMIN.getFirstUnusedGid
cvsdist a667421
  in python
cvsdist a667421
cvsdist a667421
* Thu Dec 19 2002 Nalin Dahyabhai <nalin@redhat.com> 0.51.4-1
cvsdist a667421
- fix not freeing resources properly in files.c(generic_is_locked), spotted by
cvsdist a667421
  Zou Pengcheng
cvsdist a667421
cvsdist a667421
* Wed Dec 11 2002 Nalin Dahyabhai <nalin@redhat.com> 0.51.2-1
cvsdist a667421
- degrade gracefully
cvsdist a667421
- build with --with-pic and -fPIC
cvsdist a667421
- remove unpackaged man page
cvsdist a667421
cvsdist 9634936
* Tue Aug 27 2002 Nalin Dahyabhai <nalin@redhat.com> 0.51.1-2
cvsdist 9634936
- translation updates
cvsdist 9634936
cvsdist 1da4458
* Wed Jul 24 2002 Nalin Dahyabhai <nalin@redhat.com> 0.51.1-1
cvsdist 1da4458
- doc updates -- cvs tree moved
cvsdist 1da4458
- language updates
cvsdist 1da4458
- disallow weird characters in account names
cvsdist 1da4458
cvsdist 1da4458
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist 1da4458
- automated rebuild
cvsdist 1da4458
cvsdist 1da4458
* Mon May 20 2002 Nalin Dahyabhai <nalin@redhat.com> 0.51-1
cvsdist 1da4458
- files: ignore blank lines in files
cvsdist 1da4458
- libuser: disallow creation of accounts with names containing whitespace,
cvsdist 1da4458
  control characters, or non-ASCII characters
cvsdist 1da4458
cvsdist 07f96cb
* Tue Apr 16 2002 Nalin Dahyabhai <nalin@redhat.com> 0.50.2-1
cvsdist 8f169e0
- refresh translations
cvsdist 07f96cb
- fix a heap-corruption bug in the python bindings
cvsdist 8f169e0
cvsdist 8f169e0
* Mon Apr 15 2002 Nalin Dahyabhai <nalin@redhat.com> 0.50-1
cvsdist 8f169e0
- bump version
cvsdist 8f169e0
- refresh translations
cvsdist 8f169e0
cvsdist 8f169e0
* Thu Mar 14 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.102-1
cvsdist 8f169e0
- ldap: cache an entity's dn in the entity structure to try to speed things up
cvsdist 8f169e0
cvsdist 8f169e0
* Mon Mar 11 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.101-3
cvsdist 8f169e0
- rebuild in new environment
cvsdist 8f169e0
cvsdist 8f169e0
* Thu Mar  7 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.101-2
cvsdist 8f169e0
- add missing buildreqs on cyrus-sasl-devel and openldap-devel (#59456)
cvsdist 8f169e0
- translation refresh
cvsdist 8f169e0
cvsdist 8f169e0
* Fri Mar  1 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.101-1
cvsdist 8f169e0
- fix python bindings of enumerateFull functions
cvsdist 8f169e0
- adjust prompter wrapping to not error out on successful returns
cvsdist 8f169e0
cvsdist 8f169e0
* Thu Feb 28 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.100-1
cvsdist 8f169e0
- be more careful about printing error messages
cvsdist 8f169e0
- fix refreshing after adding of accounts
cvsdist 8f169e0
- ldap: try to use a search to convert names to DNs, and only fall back to
cvsdist 8f169e0
  guessing if it turns up nothing
cvsdist 8f169e0
- files: fix an off-by-one in removal of entries
cvsdist 8f169e0
cvsdist 8f169e0
* Mon Feb 25 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.99-1
cvsdist 8f169e0
- refresh translations
cvsdist 8f169e0
- fix admin() constructor comments in the python module
cvsdist 8f169e0
cvsdist 8f169e0
* Thu Feb 21 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.98-1
cvsdist 8f169e0
- automatically refresh entities after add, modify, setpass, removepass,
cvsdist 8f169e0
  lock, and unlock operations
cvsdist 8f169e0
- remove debug spewage when creating and removing mail spools
cvsdist 8f169e0
- files: fix saving of multi-valued attributes
cvsdist 8f169e0
- rename MEMBERUID attribute for groups to MEMBERNAME
cvsdist 8f169e0
cvsdist 8f169e0
* Wed Feb 20 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.97-1
cvsdist 8f169e0
- files: fix bug in removals
cvsdist 8f169e0
- ldap: revert attempts at being smart at startup time, because it makes UIs
cvsdist 8f169e0
  very messy (up the three whole dialogs just to start the ldap stuff!)
cvsdist 8f169e0
cvsdist 8f169e0
* Sun Feb 16 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.96-1
cvsdist 8f169e0
- fix thinko in dispatch routines
cvsdist 8f169e0
cvsdist 8f169e0
* Wed Feb 13 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.95-1
cvsdist 8f169e0
- lgroupmod: fix thinko
cvsdist 8f169e0
cvsdist 8f169e0
* Thu Jan 31 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.94-2
cvsdist 8f169e0
- rebuild in new environment
cvsdist 8f169e0
cvsdist 8f169e0
* Tue Jan 29 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.93-1
cvsdist 8f169e0
- move shadow initialization for groups to the proper callback
cvsdist 8f169e0
- rework locking in the files module to not require that files be writable
cvsdist 8f169e0
cvsdist 8f169e0
* Tue Jan 29 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 8f169e0
- expose lu_strerror()
cvsdist 8f169e0
- add various typedefs for types used by the library
cvsdist 8f169e0
cvsdist 8f169e0
* Mon Jan 28 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.92-1
cvsdist 8f169e0
- add removepass() functions
cvsdist 8f169e0
cvsdist 8f169e0
* Thu Jan 24 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 8f169e0
- lchfn,lchsh,lpasswd - reorder PAM authentication calls
cvsdist 8f169e0
- include API docs in the package
cvsdist 8f169e0
cvsdist 8f169e0
* Thu Jan 24 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.91-1
cvsdist 8f169e0
- ldap: finish port to new API
cvsdist 8f169e0
- sasl: finish port to new API (needs test)
cvsdist 8f169e0
- libuser: don't commit object changes before passing data to service
cvsdist 8f169e0
  functions which might need differing data sets to figure out what to
cvsdist 8f169e0
  change (for example, ldap)
cvsdist 8f169e0
cvsdist 8f169e0
* Thu Jan 17 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49.90-1
cvsdist 8f169e0
- bind the internal mail spool creation/removal functions for python
cvsdist 8f169e0
cvsdist 8f169e0
* Wed Jan 16 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 8f169e0
- renamed the python module
cvsdist 8f169e0
- revamped internals to use gobject's gvalues and gvaluearrays instead of
cvsdist 8f169e0
  glists of cached strings
cvsdist 8f169e0
- add enumeration-with-data functions to the C library
cvsdist 8f169e0
cvsdist 8f169e0
* Mon Jan 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 8f169e0
- require linuxdoc-tools instead of sgml-tools for rawhide
cvsdist 8f169e0
cvsdist 8f169e0
* Tue Nov 13 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 8f169e0
- fixup build files to allow building for arbitrary versions of python
cvsdist 8f169e0
cvsdist 242abfd
* Wed Aug 29 2001 Nalin Dahyabhai <nalin@redhat.com> 0.32-1
cvsdist 242abfd
- link the python module against libpam
cvsdist 242abfd
- attempt to import the python modules at build-time to verify dependencies
cvsdist 242abfd
cvsdist 242abfd
* Tue Aug 28 2001 Nalin Dahyabhai <nalin@redhat.com> 0.31-1
cvsdist 242abfd
- fix a file-parsing bug that popped up in 0.29's mmap modifications
cvsdist 242abfd
cvsdist 242abfd
* Mon Aug 27 2001 Nalin Dahyabhai <nalin@redhat.com> 0.30-1
cvsdist 242abfd
- quotaq: fix argument order when reading quota information
cvsdist 242abfd
- user_quota: set quota grace periods correctly
cvsdist 242abfd
- luseradd: never create home directories for system accounts
cvsdist 242abfd
cvsdist 242abfd
* Tue Aug 21 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 242abfd
- add da translation files
cvsdist 242abfd
- update translations
cvsdist 242abfd
cvsdist 8e774d1
* Tue Aug 21 2001 Nalin Dahyabhai <nalin@redhat.com> 0.29-1
cvsdist 8e774d1
- add an explicit build dependency on jade (for the docs)
cvsdist 8e774d1
cvsdist 8e774d1
* Mon Aug 20 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 8e774d1
- HUP nscd on modifications
cvsdist 8e774d1
- userutil.c: mmap files we're reading for probable speed gain
cvsdist 8e774d1
- userutil.c: be conservative with the amount of random data we read
cvsdist 8e774d1
- docs fixes
cvsdist 8e774d1
cvsdist 1538bd6
* Wed Aug 15 2001 Nalin Dahyabhai <nalin@redhat.com> 0.28-1
cvsdist 1538bd6
- apps: print usage on errors
cvsdist 1538bd6
- lnewusers.c: initialize groups as groups, not users
cvsdist 1538bd6
- lnewusers.c: set passwords for new accounts
cvsdist 1538bd6
- luseradd.c: accept group names in addition to IDs for the -g flag
cvsdist 1538bd6
- luseradd.c: allow the primary GID to be a preexisting group
cvsdist 1538bd6
cvsdist 0a7b012
* Tue Aug 14 2001 Nalin Dahyabhai <nalin@redhat.com> 0.27-1
cvsdist 0a7b012
- add ko translation files
cvsdist 0a7b012
- files.c: fix a heap corruption bug in lock/unlock (#51750)
cvsdist 0a7b012
- files.c: close a memory leak in reading of files
cvsdist 0a7b012
cvsdist 0a7b012
* Mon Aug 13 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- files.c: remove implementation limits on lengths of lines
cvsdist 0a7b012
cvsdist 0a7b012
* Thu Aug  9 2001 Nalin Dahyabhai <nalin@redhat.com> 0.26-1
cvsdist 0a7b012
- lusermod: change user name in groups the user is a member of during renames
cvsdist 0a7b012
- lgroupmod: change primary GID for users who are in the group during renumbers
cvsdist 0a7b012
- ldap.c: handle new attributes more gracefully if possible
cvsdist 0a7b012
- add ru translation files
cvsdist 0a7b012
cvsdist 0a7b012
* Tue Aug  7 2001 Nalin Dahyabhai <nalin@redhat.com> 0.25.1-1
cvsdist 0a7b012
- rename the quota source files to match the library, which clears up a
cvsdist 0a7b012
  file conflict with older quota packages
cvsdist 0a7b012
- add ja translation files
cvsdist 0a7b012
cvsdist 0a7b012
* Thu Aug  2 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- add lu_ent_clear_all() function
cvsdist 0a7b012
cvsdist 0a7b012
* Thu Aug  2 2001 Nalin Dahyabhai <nalin@redhat.com> 0.25-1
cvsdist 0a7b012
- close up some memory leaks
cvsdist 0a7b012
- add the ability to include resident versions of modules in the library
cvsdist 0a7b012
cvsdist 0a7b012
* Wed Aug  1 2001 Nalin Dahyabhai <nalin@redhat.com> 0.24-4
cvsdist 0a7b012
- fix incorrect Py_BuildValue invocation in python module
cvsdist 0a7b012
cvsdist 0a7b012
* Tue Jul 31 2001 Nalin Dahyabhai <nalin@redhat.com> 0.24-3
cvsdist 0a7b012
- stop leaking descriptors in the files module
cvsdist 0a7b012
- speed up user creation by reordering some checks for IDs being in use
cvsdist 0a7b012
- update the shadowLastChanged attribute when we set a password
cvsdist 0a7b012
- adjust usage of getXXXXX_r where needed
cvsdist 0a7b012
- fix assorted bugs in python binding which break prompting
cvsdist 0a7b012
cvsdist 0a7b012
* Mon Jul 30 2001 Nalin Dahyabhai <nalin@redhat.com> 0.23-1
cvsdist 0a7b012
- install sv translation
cvsdist 0a7b012
- make lpasswd prompt for passwords when none are given on the command line
cvsdist 0a7b012
- make sure all user-visible strings are marked for translation
cvsdist 0a7b012
- clean up some user-visible strings
cvsdist 0a7b012
- require PAM authentication in lchsh, lchfn, and lpasswd for non-networked modules
cvsdist 0a7b012
cvsdist 0a7b012
* Fri Jul 27 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- print uids and gids of users and names in lid app
cvsdist 0a7b012
- fix tree traversal in users_enumerate_by_group and groups_enumerate_by_users
cvsdist 0a7b012
- implement enumerate_by_group and enumerate_by_user in ldap module
cvsdist 0a7b012
- fix id-based lookups in the ldap module
cvsdist 0a7b012
- implement islocked() method in ldap module
cvsdist 0a7b012
- implement setpass() method in ldap module
cvsdist 0a7b012
- add lchfn and lchsh apps
cvsdist 0a7b012
- add %%d substitution to libuser.conf
cvsdist 0a7b012
cvsdist 0a7b012
* Thu Jul 26 2001 Nalin Dahyabhai <nalin@redhat.com> 0.21-1
cvsdist 0a7b012
- finish adding a sasldb module which manipulates a sasldb file
cvsdist 0a7b012
- add users_enumerate_by_group and groups_enumerate_by_users
cvsdist 0a7b012
cvsdist 0a7b012
* Wed Jul 25 2001 Nalin Dahyabhai <nalin@redhat.com> 
cvsdist 0a7b012
- luserdel: remove the user's primary group if it has the same name as
cvsdist 0a7b012
  the user and has no members configured (-G disables)
cvsdist 0a7b012
- fixup some configure stuff to make libuser.conf get generated correctly
cvsdist 0a7b012
  even when execprefix isn't specified
cvsdist 0a7b012
cvsdist 0a7b012
* Tue Jul 24 2001 Nalin Dahyabhai <nalin@redhat.com> 0.20-1
cvsdist 0a7b012
- only call the auth module when setting passwords (oops)
cvsdist 0a7b012
- use GTrees instead of GHashTables for most internal tables
cvsdist 0a7b012
- files: complain properly about unset attributes
cvsdist 0a7b012
- files: group passwords are single-valued, not multiple-valued
cvsdist 0a7b012
- add lpasswd app, make sure all apps start up popt with the right names
cvsdist 0a7b012
cvsdist 0a7b012
* Mon Jul 23 2001 Nalin Dahyabhai <nalin@redhat.com> 0.18-1
cvsdist 0a7b012
- actually make the new optional arguments optional
cvsdist 0a7b012
- fix lu_error_new() to actually report errors right
cvsdist 0a7b012
- fix part of the python bindings
cvsdist 0a7b012
- include tools in the binary package again
cvsdist 0a7b012
- fixup modules so that password-changing works right again
cvsdist 0a7b012
- add a "key" field to prompt structures for use by apps which like to
cvsdist 0a7b012
  cache these things
cvsdist 0a7b012
- add an optional "mvhomedir" argument to userModify (python)
cvsdist 0a7b012
cvsdist 0a7b012
* Fri Jul 20 2001 Nalin Dahyabhai <nalin@redhat.com> 0.16.1-1
cvsdist 0a7b012
- finish home directory population
cvsdist 0a7b012
- implement home directory moving
cvsdist 0a7b012
- change entity get semantics in the python bindings to allow default values for .get()
cvsdist 0a7b012
- add lu_ent_has(), and a python has_key() method to Entity types
cvsdist 0a7b012
- don't include tools in the binary package
cvsdist 0a7b012
- add translated strings
cvsdist 0a7b012
cvsdist 0a7b012
* Thu Jul 19 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- lib/user.c: catch and ignore errors when running stacks
cvsdist 0a7b012
- lusermod: fix slightly bogus help messages
cvsdist 0a7b012
- luseradd: when adding a user and group, use the gid of the group
cvsdist 0a7b012
  instead of the user's uid as the primary group
cvsdist 0a7b012
- properly set the password field in user accounts created using
cvsdist 0a7b012
  auth-only auth modules (shadow needs "x" instead of "!!")
cvsdist 0a7b012
- implement home directory removal, start on population
cvsdist 0a7b012
cvsdist 0a7b012
* Wed Jul 18 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- fix group password setting in the files module
cvsdist 0a7b012
- setpass affects both auth and info, so run both stacks
cvsdist 0a7b012
cvsdist 0a7b012
* Tue Jul 17 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- make the testbed apps noinst
cvsdist 0a7b012
cvsdist 0a7b012
* Mon Jul 16 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- fix errors due to uninitialized fields in the python bindings
cvsdist 0a7b012
- add kwargs support to all python wrappers
cvsdist 0a7b012
- add a mechanism for passing arguments to python callbacks
cvsdist 0a7b012
cvsdist 0a7b012
* Wed Jul 11 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- stub out the krb5 and ldap modules so that they'll at least compile again
cvsdist 0a7b012
 
cvsdist 0a7b012
* Tue Jul 10 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- don't bail when writing empty fields to colon-delimited files
cvsdist 0a7b012
- use permissions of the original file when making backup files instead of 0600
cvsdist 0a7b012
cvsdist 0a7b012
* Fri Jul  6 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- finish implementing is_locked methods in files/shadow module
cvsdist 0a7b012
- finish cleanup of the python bindings
cvsdist 0a7b012
- allow conditional builds of modules so that we can build without
cvsdist 0a7b012
  all of the prereqs for all of the modules
cvsdist 0a7b012
cvsdist 0a7b012
* Thu Jun 21 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- add error reporting facilities
cvsdist 0a7b012
- split public header into pieces by function
cvsdist 0a7b012
- backend cleanups
cvsdist 0a7b012
cvsdist 0a7b012
* Mon Jun 18 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- make %%{name}-devel require %%{name} and not %%{name}-devel
cvsdist 0a7b012
cvsdist 0a7b012
* Fri Jun 15 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- clean up quota bindings some more
cvsdist 0a7b012
- finish most of the ldap bindings
cvsdist 0a7b012
- fix a subtle bug in the files module that would show up when renaming accounts
cvsdist 0a7b012
- fix mapping methods for entity structures in python
cvsdist 0a7b012
cvsdist 0a7b012
* Thu Jun 14 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- get bindings for prompts to work correctly
cvsdist 0a7b012
- clean up some of the add/remove semantics (set source on add)
cvsdist 0a7b012
- ldap: implement enumeration
cvsdist 0a7b012
- samples/enum: fix the argument order
cvsdist 0a7b012
cvsdist 0a7b012
* Wed Jun 13 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- clean up python bindings for quota
cvsdist 0a7b012
cvsdist 0a7b012
* Tue Jun 12 2001 Nalin Dahyabhai <nalin@redhat.com> 0.11
cvsdist 0a7b012
- finish up python bindings for quota support
cvsdist 0a7b012
cvsdist 0a7b012
* Sun Jun 10 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- finish up quota support libs
cvsdist 0a7b012
cvsdist 0a7b012
* Fri Jun  8 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- start quota support library to get some type safety
cvsdist 0a7b012
cvsdist 0a7b012
* Thu Jun  7 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- start looking at quota manipulation
cvsdist 0a7b012
cvsdist 0a7b012
* Wed Jun  6 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- add functions for enumerating users and groups, optionally per-module
cvsdist 0a7b012
- lusermod.c: -s should specify the shell, not the home directory
cvsdist 0a7b012
cvsdist 0a7b012
* Fri Jun  1 2001 Nalin Dahyabhai <nalin@redhat.com> 0.10
cvsdist 0a7b012
- finish the python bindings and verify that the file backend works again
cvsdist 0a7b012
cvsdist 0a7b012
* Wed May 30 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- remove a redundant check which was breaking modifications
cvsdist 0a7b012
cvsdist 0a7b012
* Tue May 29 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 0a7b012
- finish adding setpass methods
cvsdist 0a7b012
cvsdist 0a7b012
* Wed May  2 2001 Nalin Dahyabhai <nalin@redhat.com> 0.9
cvsdist 0a7b012
- get a start on some Python bindings
cvsdist 0a7b012
cvsdist 0a7b012
* Tue May  1 2001 Nalin Dahyabhai <nalin@redhat.com> 0.8.2
cvsdist 0a7b012
- make binary-incompatible change in headers
cvsdist 0a7b012
cvsdist 0a7b012
* Mon Apr 30 2001 Nalin Dahyabhai <nalin@redhat.com> 0.8.1
cvsdist 0a7b012
- add doxygen docs and a "doc" target for them
cvsdist 0a7b012
cvsdist 0a7b012
* Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com> 0.8
cvsdist 75e69b4
- add a "quiet" prompter
cvsdist 75e69b4
- add --interactive flag to sample apps and default to using quiet prompter
cvsdist 75e69b4
- ldap: attempt a "self" bind if other attempts fail
cvsdist 75e69b4
- krb5: connect to the password-changing service if the user principal has
cvsdist 75e69b4
  the NULL instance
cvsdist 75e69b4
cvsdist 75e69b4
* Wed Jan 10 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 75e69b4
- the great adding-of-the-copyright-statements
cvsdist 75e69b4
- take more care when creating backup files in the files module
cvsdist 75e69b4
cvsdist 0a7b012
* Wed Jan  3 2001 Nalin Dahyabhai <nalin@redhat.com> 0.7
cvsdist 75e69b4
- add openldap-devel as a buildprereq
cvsdist 75e69b4
- krb5: use a continuous connection
cvsdist 75e69b4
- krb5: add "realm" config directive
cvsdist 75e69b4
- ldap: use a continuous connection
cvsdist 75e69b4
- ldap: add "server", "basedn", "binddn", "user", "authuser" config directives
cvsdist 75e69b4
- ldap: actually finish the account deletion function
cvsdist 75e69b4
- ldap: don't send cleartext passwords to the directory
cvsdist 75e69b4
- fix naming attribute for users (should be uid, not gid)
cvsdist 75e69b4
- refine the search-by-id,convert-to-name,search-by-name logic
cvsdist 75e69b4
- fix handling of defaults when the config file is read in but contains no value
cvsdist 75e69b4
- implement an LDAP information store
cvsdist 75e69b4
- try to clean up module naming with libtool
cvsdist 75e69b4
- luseradd: pass plaintext passwords along
cvsdist 75e69b4
- luseradd: use symbolic attribute names instead of hard-coded
cvsdist 75e69b4
- lusermod: pass plaintext passwords along
cvsdist 75e69b4
- lgroupadd: pass plaintext passwords along
cvsdist 75e69b4
- lgroupmod: pass plaintext passwords along
cvsdist 75e69b4
- add libuser as a dependency of libuser-devel
cvsdist 75e69b4
cvsdist 0a7b012
* Tue Jan  2 2001 Nalin Dahyabhai <nalin@redhat.com> 0.6
cvsdist 75e69b4
- initial packaging