Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/debian/libnss-ldapd.postinst
Commit message (Collapse)AuthorAgeFilesLines
* any output should go to stderr to not confuse debconfArthur de Jong2008-11-111-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@795 ef36b2f9-881f-0410-afb5-c4e39611909c
* check for existance of init script instead of daemonArthur de Jong2008-11-011-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@789 ef36b2f9-881f-0410-afb5-c4e39611909c
* create a nslcd user in postinst and ensure that it is ↵Arthur de Jong2008-06-061-0/+24
| | | | | | used by default git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@747 ef36b2f9-881f-0410-afb5-c4e39611909c
* handle case where value contains spaces properlyArthur de Jong2008-04-051-13/+20
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@667 ef36b2f9-881f-0410-afb5-c4e39611909c
* support having a binddn set without a bindpwArthur de Jong2008-04-051-1/+11
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@666 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove rootbind{dn,pw} options from packaging because ↵Arthur de Jong2008-04-051-23/+0
| | | | | | the options are not likely to be implemented in the future git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@664 ef36b2f9-881f-0410-afb5-c4e39611909c
* comment out all rootbind{dn,pw} code as to not copy ↵Arthur de Jong2008-03-161-22/+23
| | | | | | those directives because they are unsupported git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@642 ef36b2f9-881f-0410-afb5-c4e39611909c
* don't use dh_makeshlibs any more because we don't need ↵Arthur de Jong2008-02-031-0/+4
| | | | | | the shlibs file; call ldconfig from maintainer scripts ourselves git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@614 ef36b2f9-881f-0410-afb5-c4e39611909c
* do something special for setting the uri parameter ↵Arthur de Jong2007-09-241-1/+26
| | | | | | because it may be speicified multiple times git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@422 ef36b2f9-881f-0410-afb5-c4e39611909c
* trim preceding spaces when adding an entry in ↵Arthur de Jong2007-09-231-1/+1
| | | | | | /etc/nsswitch.conf git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@419 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix handling of configfile values with spaces and ↵Arthur de Jong2007-08-251-9/+16
| | | | | | symbols that could cause problems with sed git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@363 ef36b2f9-881f-0410-afb5-c4e39611909c
* change regular expression boundry to | instead of % ↵Arthur de Jong2007-08-251-1/+1
| | | | | | because it is less likely to appear with normal use git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@362 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix some bugs in mangling of configfile and be more ↵Arthur de Jong2007-08-191-26/+8
| | | | | | cautious about replacing values (only replace first occurrence and only match options with the correct number of options) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@353 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove passwords from configfile if the [root]binddn ↵Arthur de Jong2007-08-191-8/+14
| | | | | | option was removed and always unset the passwd in the debconf database git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@352 ef36b2f9-881f-0410-afb5-c4e39611909c
* no longer use /etc/libnss-ldap.conf as a basis for ↵Arthur de Jong2007-08-191-31/+3
| | | | | | creating a new configuration file since the syntax is no longer compatible git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@350 ef36b2f9-881f-0410-afb5-c4e39611909c
* only restart nscd on configureArthur de Jong2007-08-191-7/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@349 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove the ldap-version question as it should be ↵Arthur de Jong2007-08-191-4/+1
| | | | | | unneeded in the most common installations (where it needs to be set the whole config is likely te need tweaking) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@348 ef36b2f9-881f-0410-afb5-c4e39611909c
* add note about modifying /etc/nsswitch.conf in postinstArthur de Jong2007-06-101-0/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@276 ef36b2f9-881f-0410-afb5-c4e39611909c
* only modify nsswitch databases we support, leave ↵Arthur de Jong2007-01-081-3/+1
| | | | | | everything else alone (e.g. automount) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@212 ef36b2f9-881f-0410-afb5-c4e39611909c
* change some tests with grep to be correct, add some ↵Arthur de Jong2006-12-191-9/+14
| | | | | | comments and improve import of old configuration file git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@182 ef36b2f9-881f-0410-afb5-c4e39611909c
* change default configuration file name to ↵Arthur de Jong2006-12-191-4/+3
| | | | | | /etc/nss-ldapd.conf git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@179 ef36b2f9-881f-0410-afb5-c4e39611909c
* remove trailing spacesArthur de Jong2006-12-171-2/+2
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@172 ef36b2f9-881f-0410-afb5-c4e39611909c
* redid Debian packaging: on installation a search is done ↵Arthur de Jong2006-12-161-160/+231
| | | | | | for any reasonable configuration information (existing nss_ldap config, hostname info, etc), configuring nsswitch.conf is also done and all files in the debian directory have more logical names git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@158 ef36b2f9-881f-0410-afb5-c4e39611909c
* clean up Debian packaging a bitArthur de Jong2006-12-081-8/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@152 ef36b2f9-881f-0410-afb5-c4e39611909c
* initial step to get working Debian packagingArthur de Jong2006-12-071-0/+185
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@142 ef36b2f9-881f-0410-afb5-c4e39611909c