summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2009-04-21 19:25:43 +0000
committerArthur de Jong <arthur@arthurdejong.org>2009-04-21 19:25:43 +0000
commit170b19ed6f496f1c4dd450081eabde1a72f8d799 (patch)
treee0391b2c6c0defbc1f8114f006286c119b3c05bb
parent63a3783c05732d89c4faa1f4519d7e83f26e2a5a (diff)
ask on removal and on purge whether to edit /etc/nsswitch.conf and remove ldap entries
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@843 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--debian/libnss-ldapd.postrm63
-rw-r--r--debian/libnss-ldapd.templates17
-rw-r--r--debian/po/ca.po36
-rw-r--r--debian/po/cs.po36
-rw-r--r--debian/po/da.po60
-rw-r--r--debian/po/de.po36
-rw-r--r--debian/po/es.po36
-rw-r--r--debian/po/fr.po36
-rw-r--r--debian/po/ja.po36
-rw-r--r--debian/po/nl.po36
-rw-r--r--debian/po/pt.po36
-rw-r--r--debian/po/pt_BR.po36
-rw-r--r--debian/po/ru.po36
-rw-r--r--debian/po/sv.po59
-rw-r--r--debian/po/templates.pot36
-rw-r--r--debian/po/vi.po36
16 files changed, 592 insertions, 39 deletions
diff --git a/debian/libnss-ldapd.postrm b/debian/libnss-ldapd.postrm
index 6fa4004..58942df 100644
--- a/debian/libnss-ldapd.postrm
+++ b/debian/libnss-ldapd.postrm
@@ -4,10 +4,71 @@ set -e
CONFFILE="/etc/nss-ldapd.conf"
+# remove NSS lookups though LDAP for the specified service
+nss_disable()
+{
+ name="$1"
+ # these functions also remove the lookup result handling part
+ # of the ldap entry (see nsswitch.conf(5))
+ if grep -q '^'$name':.*ldap.*' /etc/nsswitch.conf
+ then
+ echo "/etc/nsswitch.conf: disable LDAP lookups for $name" >&2
+ if [ -n "`sed -n '/^'$name':[[:space:]]*ldap[[:space:]]*\(\[[^]]*\]\)*[[:space:]]*$/p' /etc/nsswitch.conf`" ]
+ then
+ # the name service only maps to ldap, remove the whole line
+ sed -i '/^'$name':[[:space:]]*ldap[[:space:]]*\(\[[^]]*\]\)*[[:space:]]*$/d' /etc/nsswitch.conf
+ else
+ # remove ldap part from existing line, keeping other methods intact
+ # TODO: remove trailing space
+ sed -i 's/^\('$name':.*\)ldap[[:space:]]*\(\[[^]]*\]\)*[[:space:]]*\(.*\)$/\1\3/' /etc/nsswitch.conf
+ fi
+ fi
+ # we're done
+ return 0
+}
+
# remove /var/run/nslcd directory
rm -rf /var/run/nslcd
-# remove our configuration file (not a conffile) on purge manually
+# offer to remove ldap from nsswitch.conf
+if ( [ "$1" = "remove" ] || [ "$1" = "purge" ] )
+then
+ # check which naming services are configured
+ configured=`sed -n 's/^\([a-z]*\):.*[[:space:]]ldap\([[:space:]].*\)\?/\1/p' /etc/nsswitch.conf`
+ if [ -n "$configured" ]
+ then
+ # if we have debconf, use debconf to ask, otherwise just shout
+ if [ -e /usr/share/debconf/confmodule ]
+ then
+ # ask with debconf
+ . /usr/share/debconf/confmodule
+ db_title "Removing libnss-ldapd"
+ db_subst libnss-ldapd/clean_nsswitch services "`echo $configured | sed 's/ /, /g'`"
+ db_fset libnss-ldapd/clean_nsswitch seen false
+ if db_input high libnss-ldapd/clean_nsswitch
+ then
+ db_go
+ db_get libnss-ldapd/clean_nsswitch
+ if [ "$RET" = "true" ]
+ then
+ for n in $configured
+ do
+ nss_disable $n
+ done
+ fi
+ fi
+ # re-check which services are left enabled
+ configured=`sed -n 's/^\([a-z]*\):.*[[:space:]]ldap\([[:space:]].*\)\?/\1/p' /etc/nsswitch.conf`
+ fi
+ # check if ldap is still configured
+ if [ -n "$configured" ]
+ then
+ echo "WARNING: LDAP is still configured in /etc/nsswitch.conf" >&2
+ fi
+ fi
+fi
+
+# remove our configuration file (not a conffile) on purge
if [ "$1" = "purge" ]
then
rm -f "$CONFFILE"
diff --git a/debian/libnss-ldapd.templates b/debian/libnss-ldapd.templates
index 2db0077..470c879 100644
--- a/debian/libnss-ldapd.templates
+++ b/debian/libnss-ldapd.templates
@@ -42,3 +42,20 @@ _Description: Name services to configure:
You can select the services that should be enabled or disabled
for LDAP lookups. The new LDAP lookups will be added as last option.
Be sure to review these changes.
+
+Template: libnss-ldapd/clean_nsswitch
+Type: boolean
+Default: false
+_Description: Remove LDAP from nsswitch.conf now?
+ LDAP is still configured for name lookups for the following services:
+ ${services}
+ but the libnss-ldapd package is about to be removed.
+ .
+ You are advised to remove the entries if you don't plan on using LDAP
+ for name resolution any more. Not removing ldap from nsswitch.conf should,
+ for most services, not cause problems, but host name resolution could be
+ affected in subtle ways.
+ .
+ You can edit /etc/nsswitch.conf by hand or chose to remove the entries
+ automatically now. Be sure to review the changes to /etc/nsswitch.conf if
+ you chose to remove the entries now.
diff --git a/debian/po/ca.po b/debian/po/ca.po
index 13bff91..949be4e 100644
--- a/debian/po/ca.po
+++ b/debian/po/ca.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libnss-ldap 211-4\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2004-11-02 20:49+0100\n"
"Last-Translator: Guillem Jover <guillem@debian.org>\n"
"Language-Team: Catalan <debian-l10n-catalan@lists.debian.org>\n"
@@ -130,6 +130,40 @@ msgid ""
"review these changes."
msgstr ""
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#, fuzzy
#~ msgid ""
#~ "Enter the password that will be used to log in to the LDAP database when "
diff --git a/debian/po/cs.po b/debian/po/cs.po
index 30e722a..a111bd8 100644
--- a/debian/po/cs.po
+++ b/debian/po/cs.po
@@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libnss-ldap\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2005-07-10 16:33+0200\n"
"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
@@ -135,6 +135,40 @@ msgid ""
"review these changes."
msgstr ""
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#, fuzzy
#~ msgid ""
#~ "Enter the password that will be used to log in to the LDAP database when "
diff --git a/debian/po/da.po b/debian/po/da.po
index 8692376..d2b59a3 100644
--- a/debian/po/da.po
+++ b/debian/po/da.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nss-ldapd 0.6\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2008-08-06 11:34+0200\n"
"Last-Translator: Jonas Smedegaard <dr@jones.dk>\n"
"Language-Team: None\n"
@@ -20,7 +20,8 @@ msgstr ""
#. Description
#: ../libnss-ldapd.templates:1001
msgid "LDAP server Uniform Resource Identifier:"
-msgstr "LDAP-server ensartet ressourceidentifikator (Uniform Resource Identifier):"
+msgstr ""
+"LDAP-server ensartet ressourceidentifikator (Uniform Resource Identifier):"
#. Type: string
#. Description
@@ -30,9 +31,9 @@ msgid ""
"ldap://<hostname or IP>:<port>/ . ldaps:// or ldapi:// can also be used. The "
"port number is optional."
msgstr ""
-"Angiv URIen for den anvendte LDAP-server. Dette er en streng af typen "
-"ldap://<værtsnavn eller IP>:<port>/ . ldaps:// eller ldapi:// kan også "
-"bruges. Portnummeret er valgfrit."
+"Angiv URIen for den anvendte LDAP-server. Dette er en streng af typen ldap://"
+"<værtsnavn eller IP>:<port>/ . ldaps:// eller ldapi:// kan også bruges. "
+"Portnummeret er valgfrit."
#. Type: string
#. Description
@@ -67,9 +68,8 @@ msgid ""
"name of the search base."
msgstr ""
"Angiv det særlige navn på LDAP-søgebasen. Mange sites bruger komponenterne "
-"fra deres domænenavne til dette formål. Eksempelvis ville domænet "
-"\"eksempel.dk\" bruge \"dc=eksempel,dc=dk\" som det særlige navn på "
-"søgebasen."
+"fra deres domænenavne til dette formål. Eksempelvis ville domænet \"eksempel."
+"dk\" bruge \"dc=eksempel,dc=dk\" som det særlige navn på søgebasen."
#. Type: string
#. Description
@@ -103,8 +103,8 @@ msgstr "LDAP-bruger adgangskode:"
#. Description
#: ../libnss-ldapd.templates:4001
msgid "Enter the password that will be used to log in to the LDAP database."
-msgstr "Angiv adgangskoden som vil blive brugt til at logge på til "
-"LDAP-databasen."
+msgstr ""
+"Angiv adgangskoden som vil blive brugt til at logge på til LDAP-databasen."
#. Type: multiselect
#. Description
@@ -130,6 +130,40 @@ msgid ""
"lookups. The new LDAP lookups will be added as last option. Be sure to "
"review these changes."
msgstr ""
-"Du kan vælge de services som skal aktiveres eller slås fra for "
-"LDAP-opslag. De nye LDAP-opslag vil blive tilføjet som sidste "
-"mulighed. Sørg for at gennemgå ændringerne."
+"Du kan vælge de services som skal aktiveres eller slås fra for LDAP-opslag. "
+"De nye LDAP-opslag vil blive tilføjet som sidste mulighed. Sørg for at "
+"gennemgå ændringerne."
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
diff --git a/debian/po/de.po b/debian/po/de.po
index 9df00b8..81e5122 100644
--- a/debian/po/de.po
+++ b/debian/po/de.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nss-ldapd 0.5\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2008-01-27 21:02+0100\n"
"Last-Translator: Erik Schanze <eriks@debian.org>\n"
"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
@@ -145,6 +145,40 @@ msgstr ""
"werden. Die neuen LDAP-Anfragen werden als letzte Möglichkeit angefügt. "
"Kontrollieren Sie unbedingt die Änderungen."
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#~ msgid "LDAP account for root:"
#~ msgstr "LDAP-Zugangname für root:"
diff --git a/debian/po/es.po b/debian/po/es.po
index b18796e..5f83cf3 100644
--- a/debian/po/es.po
+++ b/debian/po/es.po
@@ -32,7 +32,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nss-ldapd 0.3\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2008-02-03 20:20-0500\n"
"Last-Translator: Rudy Godoy Guillén <rudy@stone-head.org>\n"
"Language-Team: Debian l10n Spanish <debian-l10n-spanish@lists.debian.org>\n"
@@ -161,6 +161,40 @@ msgstr ""
"búsquedas de LDAP. Las nuevas búsquedas LDAP serán añadidas como última "
"opción. Asegúrese de revisar estos cambios."
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#~ msgid "LDAP account for root:"
#~ msgstr "Cuenta de superusuario LDAP:"
diff --git a/debian/po/fr.po b/debian/po/fr.po
index 035c8c7..cfacf3e 100644
--- a/debian/po/fr.po
+++ b/debian/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nss-ldapd 0.3\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2007-10-13 12:31+0200\n"
"Last-Translator: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
@@ -138,6 +138,40 @@ msgstr ""
"ajoutées comme dernière option. Il est important de bien contrôler ces "
"modifications."
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#~ msgid "LDAP account for root:"
#~ msgstr "Identifiant LDAP du superutilisateur :"
diff --git a/debian/po/ja.po b/debian/po/ja.po
index 87ac6e5..e82a850 100644
--- a/debian/po/ja.po
+++ b/debian/po/ja.po
@@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nss-ldapd 0.3\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2007-10-14 16:31+0900\n"
"Last-Translator: Kenshi Muto <kmuto@debian.org>\n"
"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
@@ -138,6 +138,40 @@ msgstr ""
"ルックアップは最後の選択肢として追加されます。これらの変更を見て確認してくだ"
"さい。"
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#~ msgid "LDAP account for root:"
#~ msgstr "root 用の LDAP アカウント:"
diff --git a/debian/po/nl.po b/debian/po/nl.po
index 68054b9..3a94a7e 100644
--- a/debian/po/nl.po
+++ b/debian/po/nl.po
@@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nss-ldapd 0.3\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2008-02-26 17:12+0100\n"
"Last-Translator: Bart Cornelis <cobaco@skolelinux.no>\n"
"Language-Team: debian-l10n-dutch <debian-l10n-dutch@lists.debian.org>\n"
@@ -144,6 +144,40 @@ msgstr ""
"gedeactiveerd dienen te worden. De nieuwe LDAP-zoekacties worden toegevoegd "
"als de laatste optie. Gelieve deze aanpassingen te controleren."
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#~ msgid "LDAP account for root:"
#~ msgstr "LDAP-account voor root:"
diff --git a/debian/po/pt.po b/debian/po/pt.po
index bce88dd..de0cb56 100644
--- a/debian/po/pt.po
+++ b/debian/po/pt.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nss-ldapd 0.3\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2007-08-19 14:06+0100\n"
"Last-Translator: Américo Monteiro <a_monteiro@netcabo.pt>\n"
"Language-Team: Portuguese <traduz@debianpt.org>\n"
@@ -135,6 +135,40 @@ msgstr ""
"para buscas LDAP. Novas buscas LDAP serão adicionadas como últimas opções."
"Certifique-se de rever estas alterações."
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#~ msgid "LDAP account for root:"
#~ msgstr "Conta de administrador (root) LDAP:"
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
index ff0e70f..9a1f8d4 100644
--- a/debian/po/pt_BR.po
+++ b/debian/po/pt_BR.po
@@ -15,7 +15,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libnss-ldap_203-1\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2003-03-08 11:39+0300\n"
"Last-Translator: Andr Lus Lopes <andrelop@ig.com.br>\n"
"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
@@ -136,6 +136,40 @@ msgid ""
"review these changes."
msgstr ""
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#, fuzzy
#~ msgid ""
#~ "Enter the password that will be used to log in to the LDAP database when "
diff --git a/debian/po/ru.po b/debian/po/ru.po
index 69fe107..827dee6 100644
--- a/debian/po/ru.po
+++ b/debian/po/ru.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libnss-ldap_211-4\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2003-11-19 15:00+0500\n"
"Last-Translator: Ilgiz Kalmetev <translator@ilgiz.pp.ru>\n"
"Language-Team: russian <debian-russian@lists.debian.org>\n"
@@ -131,6 +131,40 @@ msgid ""
"review these changes."
msgstr ""
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#, fuzzy
#~ msgid ""
#~ "Enter the password that will be used to log in to the LDAP database when "
diff --git a/debian/po/sv.po b/debian/po/sv.po
index c9f7f97..33dd879 100644
--- a/debian/po/sv.po
+++ b/debian/po/sv.po
@@ -17,7 +17,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nss-ldapd 0.6\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2008-07-29 21:31+0200\n"
"Last-Translator: Martin gren <martin.agren@gmail.com>\n"
"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
@@ -43,9 +43,9 @@ msgid ""
"ldap://<hostname or IP>:<port>/ . ldaps:// or ldapi:// can also be used. The "
"port number is optional."
msgstr ""
-"Ange URI:n till den LDAP-server som anvnds. Detta r en strng "
-"p formen ldap://<vrdnamn eller IP>:<port>/ . "
-"ldaps:// eller ldapi:// kan ocks anvndas. Portnumret r valfritt."
+"Ange URI:n till den LDAP-server som anvnds. Detta r en strng p formen "
+"ldap://<vrdnamn eller IP>:<port>/ . ldaps:// eller ldapi:// kan ocks "
+"anvndas. Portnumret r valfritt."
#. Type: string
#. Description
@@ -54,8 +54,8 @@ msgid ""
"When useing the ldap or ldaps schemes it is usually a good idea to use an IP "
"address; this reduces the risk of failure when name services are unavailable."
msgstr ""
-"Nr ldap och ldaps anvnds r det vanligtvis en bra id att anvnda en IP-adress; "
-"detta reducerar risken fr fel om namntjnsten r otillgnglig."
+"Nr ldap och ldaps anvnds r det vanligtvis en bra id att anvnda en IP-"
+"adress; detta reducerar risken fr fel om namntjnsten r otillgnglig."
#. Type: string
#. Description
@@ -79,8 +79,8 @@ msgid ""
"name of the search base."
msgstr ""
"Ange namnet (DN) fr LDAPs skbas. Mnga system anvnder komponenter av "
-"deras domnnamn fr denna funktion. Till exempel att domnen \"example.net\" "
-"skulle anvnda \"dc=example,dc=net\" som sitt DN-namn fr skbasen."
+"deras domnnamn fr denna funktion. Till exempel att domnen \"example.net"
+"\" skulle anvnda \"dc=example,dc=net\" som sitt DN-namn fr skbasen."
#. Type: string
#. Description
@@ -95,8 +95,8 @@ msgid ""
"If the LDAP database requires a login for normal lookups, enter the name of "
"the account that will be used here. Leave empty otherwise."
msgstr ""
-"Om LDAP-databasen krver inloggning fr vanliga uppslag, "
-"ange namnet p det konto som ska anvndas. Lmna annars tomt."
+"Om LDAP-databasen krver inloggning fr vanliga uppslag, ange namnet p det "
+"konto som ska anvndas. Lmna annars tomt."
#. Type: string
#. Description
@@ -140,7 +140,40 @@ msgid ""
"lookups. The new LDAP lookups will be added as last option. Be sure to "
"review these changes."
msgstr ""
-"Du kan vlja de tjnster som ska vara aktiverade eller avaktiverade "
-"vid LDAP-uppslag. De nya LDAP-uppslagen kommer att lggas till som "
-"ett sista val. Se till att se ver dessa ndringar."
+"Du kan vlja de tjnster som ska vara aktiverade eller avaktiverade vid LDAP-"
+"uppslag. De nya LDAP-uppslagen kommer att lggas till som ett sista val. Se "
+"till att se ver dessa ndringar."
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
index 542f1eb..cea3c9e 100644
--- a/debian/po/templates.pot
+++ b/debian/po/templates.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nss-ldapd 0.6\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -115,3 +115,37 @@ msgid ""
"lookups. The new LDAP lookups will be added as last option. Be sure to "
"review these changes."
msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
diff --git a/debian/po/vi.po b/debian/po/vi.po
index 5f7624f..206504b 100644
--- a/debian/po/vi.po
+++ b/debian/po/vi.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libnss-ldap 238-1\n"
"Report-Msgid-Bugs-To: nss-ldapd@packages.debian.org\n"
-"POT-Creation-Date: 2008-04-05 16:33+0200\n"
+"POT-Creation-Date: 2009-04-21 21:21+0200\n"
"PO-Revision-Date: 2005-06-08 15:25+0930\n"
"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
@@ -126,6 +126,40 @@ msgid ""
"review these changes."
msgstr ""
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid "Remove LDAP from nsswitch.conf now?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"LDAP is still configured for name lookups for the following services:\n"
+" ${services}\n"
+"but the libnss-ldapd package is about to be removed."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You are advised to remove the entries if you don't plan on using LDAP for "
+"name resolution any more. Not removing ldap from nsswitch.conf should, for "
+"most services, not cause problems, but host name resolution could be "
+"affected in subtle ways."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../libnss-ldapd.templates:6001
+msgid ""
+"You can edit /etc/nsswitch.conf by hand or chose to remove the entries "
+"automatically now. Be sure to review the changes to /etc/nsswitch.conf if "
+"you chose to remove the entries now."
+msgstr ""
+
#, fuzzy
#~ msgid ""
#~ "Enter the password that will be used to log in to the LDAP database when "