特殊:Badtitle/NS100:PamCcredsHowto:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第75行: | 第75行: | ||
#session optional pam_foreground.so | #session optional pam_foreground.so | ||
</nowiki></pre> | </nowiki></pre> | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=important.pngThere is a problem with libnss-ldap where, even for system users listed in ''/etc/passwd'', LDAP is contacted to find out if the user is in any LDAP groups. This can cause the system to come to a virtual stand-still if the LDAP server is unavailable. To get around this problem, there is a directive called nss_initgroups_ignoreusers. List all your local system accounts after this directive. The article [http://www.nabble.com/nsswitch.conf-issues-with-LDAP-Auth--td6259466.html] suggests the following options in '''/etc/ldap.conf'''. | |||
<pre><nowiki> | <pre><nowiki> | ||
timelimit 15 | timelimit 15 | ||
第82行: | 第82行: | ||
nss_initgroups_ignoreusers root,sys,... and all your other local system accounts in /etc/passwd ... | nss_initgroups_ignoreusers root,sys,... and all your other local system accounts in /etc/passwd ... | ||
</nowiki></pre> | </nowiki></pre> | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=important.pngIf you have chosen to list all users in the initial logon dialog, this might crash when the LDAP server is unavailable. If so, disable this by setting the following line in '''/etc/gdm/gdm.conf-custom''' in the '''[greeter]''' section. | |||
<pre><nowiki> | <pre><nowiki> | ||
[greeter] | [greeter] | ||
第110行: | 第110行: | ||
Salted SHA1 fred any 4a985b233701cf106ed450a0168fa8e0aa86ef5d | Salted SHA1 fred any 4a985b233701cf106ed450a0168fa8e0aa86ef5d | ||
</nowiki></pre> | </nowiki></pre> | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=important.pngThis failed for me when the user account's password was not encrypted as {SSHA} in the LDAP database. Using smbldap-passwd to change the password fixed this problem. | |||
Now disconnect the PC from the network (or shutdown the LDAP service) and do similar to this. | Now disconnect the PC from the network (or shutdown the LDAP service) and do similar to this. | ||
<pre><nowiki> | <pre><nowiki> | ||
第132行: | 第132行: | ||
|libnss-db||2.2.3pre1-1||libdb4.3 | |libnss-db||2.2.3pre1-1||libdb4.3 | ||
|} | |} | ||
As mentioned above the libnss-db package from breezy/main is linked against libdb3 and will ''not'' work with nss-updatedb from breezy/universe. To circumvent this problem we need a package that is linked against libdb4.3 and auses no further dependencies. I recommend the libnss-db package from Debian testing (etch) which can be downloaded from | As mentioned above the libnss-db package from breezy/main is linked against libdb3 and will ''not'' work with nss-updatedb from breezy/universe. To circumvent this problem we need a package that is linked against libdb4.3 and auses no further dependencies. I recommend the libnss-db package from Debian testing (etch) which can be downloaded from [http://packages.debian.org/testing/admin/libnss-db]. | ||
To install the package open a terminal and type: | To install the package open a terminal and type: | ||
<pre><nowiki> | <pre><nowiki> | ||
第140行: | 第140行: | ||
/usr/share/doc/nss-updatedb/*<<BR>> | /usr/share/doc/nss-updatedb/*<<BR>> | ||
/usr/share/doc/libpam-ccreds/*<<BR>> | /usr/share/doc/libpam-ccreds/*<<BR>> | ||
[http://www.padl.com/OSS/nss_updatedb.html]<<BR>> | |||
[http://www.padl.com/OSS/pam_ccreds.html]<<BR>> | |||
[http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam.html]<<BR>> | |||
[[category:CategoryDocumentation]] [[category:CategoryCleanup]] | [[category:CategoryDocumentation]] [[category:CategoryCleanup]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月20日 (一) 00:16的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/PamCcredsHowto }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/af | • {{#if: UbuntuHelp:PamCcredsHowto|Afrikaans| [[::PamCcredsHowto/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/ar | • {{#if: UbuntuHelp:PamCcredsHowto|العربية| [[::PamCcredsHowto/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/az | • {{#if: UbuntuHelp:PamCcredsHowto|azərbaycanca| [[::PamCcredsHowto/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/bcc | • {{#if: UbuntuHelp:PamCcredsHowto|جهلسری بلوچی| [[::PamCcredsHowto/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/bg | • {{#if: UbuntuHelp:PamCcredsHowto|български| [[::PamCcredsHowto/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/br | • {{#if: UbuntuHelp:PamCcredsHowto|brezhoneg| [[::PamCcredsHowto/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/ca | • {{#if: UbuntuHelp:PamCcredsHowto|català| [[::PamCcredsHowto/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/cs | • {{#if: UbuntuHelp:PamCcredsHowto|čeština| [[::PamCcredsHowto/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/de | • {{#if: UbuntuHelp:PamCcredsHowto|Deutsch| [[::PamCcredsHowto/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/el | • {{#if: UbuntuHelp:PamCcredsHowto|Ελληνικά| [[::PamCcredsHowto/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/es | • {{#if: UbuntuHelp:PamCcredsHowto|español| [[::PamCcredsHowto/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/fa | • {{#if: UbuntuHelp:PamCcredsHowto|فارسی| [[::PamCcredsHowto/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/fi | • {{#if: UbuntuHelp:PamCcredsHowto|suomi| [[::PamCcredsHowto/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/fr | • {{#if: UbuntuHelp:PamCcredsHowto|français| [[::PamCcredsHowto/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/gu | • {{#if: UbuntuHelp:PamCcredsHowto|ગુજરાતી| [[::PamCcredsHowto/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/he | • {{#if: UbuntuHelp:PamCcredsHowto|עברית| [[::PamCcredsHowto/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/hu | • {{#if: UbuntuHelp:PamCcredsHowto|magyar| [[::PamCcredsHowto/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/id | • {{#if: UbuntuHelp:PamCcredsHowto|Bahasa Indonesia| [[::PamCcredsHowto/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/it | • {{#if: UbuntuHelp:PamCcredsHowto|italiano| [[::PamCcredsHowto/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/ja | • {{#if: UbuntuHelp:PamCcredsHowto|日本語| [[::PamCcredsHowto/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/ko | • {{#if: UbuntuHelp:PamCcredsHowto|한국어| [[::PamCcredsHowto/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/ksh | • {{#if: UbuntuHelp:PamCcredsHowto|Ripoarisch| [[::PamCcredsHowto/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/mr | • {{#if: UbuntuHelp:PamCcredsHowto|मराठी| [[::PamCcredsHowto/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/ms | • {{#if: UbuntuHelp:PamCcredsHowto|Bahasa Melayu| [[::PamCcredsHowto/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/nl | • {{#if: UbuntuHelp:PamCcredsHowto|Nederlands| [[::PamCcredsHowto/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/no | • {{#if: UbuntuHelp:PamCcredsHowto|norsk| [[::PamCcredsHowto/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/oc | • {{#if: UbuntuHelp:PamCcredsHowto|occitan| [[::PamCcredsHowto/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/pl | • {{#if: UbuntuHelp:PamCcredsHowto|polski| [[::PamCcredsHowto/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/pt | • {{#if: UbuntuHelp:PamCcredsHowto|português| [[::PamCcredsHowto/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/ro | • {{#if: UbuntuHelp:PamCcredsHowto|română| [[::PamCcredsHowto/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/ru | • {{#if: UbuntuHelp:PamCcredsHowto|русский| [[::PamCcredsHowto/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/si | • {{#if: UbuntuHelp:PamCcredsHowto|සිංහල| [[::PamCcredsHowto/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/sq | • {{#if: UbuntuHelp:PamCcredsHowto|shqip| [[::PamCcredsHowto/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/sr | • {{#if: UbuntuHelp:PamCcredsHowto|српски / srpski| [[::PamCcredsHowto/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/sv | • {{#if: UbuntuHelp:PamCcredsHowto|svenska| [[::PamCcredsHowto/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/th | • {{#if: UbuntuHelp:PamCcredsHowto|ไทย| [[::PamCcredsHowto/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/tr | • {{#if: UbuntuHelp:PamCcredsHowto|Türkçe| [[::PamCcredsHowto/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/vi | • {{#if: UbuntuHelp:PamCcredsHowto|Tiếng Việt| [[::PamCcredsHowto/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/yue | • {{#if: UbuntuHelp:PamCcredsHowto|粵語| [[::PamCcredsHowto/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/zh | • {{#if: UbuntuHelp:PamCcredsHowto|中文| [[::PamCcredsHowto/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/zh-hans | • {{#if: UbuntuHelp:PamCcredsHowto|中文(简体)| [[::PamCcredsHowto/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:PamCcredsHowto | UbuntuHelp:PamCcredsHowto | {{#if: | :}}PamCcredsHowto}}/zh-hant | • {{#if: UbuntuHelp:PamCcredsHowto|中文(繁體)| [[::PamCcredsHowto/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:PamCcredsHowto|:PamCcredsHowto|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :PamCcredsHowto/zh | | {{#ifexist: PamCcredsHowto/zh | | {{#ifeq: {{#titleparts:PamCcredsHowto|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:PamCcredsHowto|1|-1|}} | zh | | }}
Install & configure libpam-ccreds on Ubuntu 5.10, 7.04, 7.10, 8.04.
Introduction
Your username and password are your credentials. Cached credentials are very useful for laptops on which user authentication is done via LDAP server. You are still able to authenticate with the accustomed login credentials when the LDAP server is not reachable. I will give a brief explanation on PAM. Linux-PAM is a system of libraries that handles all authentication in Ubuntu by default. A PAM is a Pluggable Authentication Module that is handled by Linux-PAM. Each module represents a particular authentication mechanism, and is named pam_xxxxx.so. pam_unix.so handles basic linux authentication using the /etc/passwd, /etc/group and /etc/shadow files. pam_ldap handles authentication using an LDAP database. And so on.
Installation
Install the necessary packages.
sudo apt-get install nss-updatedb libnss-db libpam-ccreds
nss-updatedb
Caches name service directories (passwd and group) locally. When a connection to the ldap server is available, create passwd.db and group.db.
sudo nss_updatedb ldap passwd... done. group... done. ls -l /var/lib/misc/*.db -rw-r--r-- 1 root root 8192 2008-08-26 18:20 /var/lib/misc/group.db -rw-r--r-- 1 root root 8192 2008-08-26 18:20 /var/lib/misc/passwd.db
Use anacron to run this no earlier than 5 minutes after boot-up, once a day only.
echo '#!/bin/sh' | sudo tee /etc/cron.daily/upd-local-nss-db echo `which nss_updatedb` ldap | sudo tee -a /etc/cron.daily/upd-local-nss-db sudo chmod +x /etc/cron.daily/upd-local-nss-db
libnss-db
NSS module for using Berkeley Databases as a naming service. This is needed to enable NSS to read the cached name service directories (passwd and group). Edit /etc/nsswitch.conf:
passwd: files ldap [NOTFOUND=return] db group: files ldap [NOTFOUND=return] db
This means:
- look first in the local files (/etc/passwd and /etc/group)
- if not found, use LDAP
- when LDAP does not have user information, exit and return nothing (this is the [NOTFOUND=return] directive)
- if the LDAP server was not reachable, proceed with using the cached data
You can test if passwd and group are cached properly by disconnecting the network connection and listing the users:
ifdown eth0 sudo getent passwd
This should return the local user plus the users from the ldap server cache in the passwd.db.
libpam-ccreds
Pam module to cache authentication credentials (i.e. passwords) locally in /var/cache/.security.db. You need to edit /etc/pam.d/common-auth as follows:
auth [success=done default=ignore] pam_unix.so nullok_secure try_first_pass # If LDAP is unavailable, go to next line. If authentication via LDAP is successful, skip 1 line. # If LDAP is available, but authentication is NOT successful, skip 2 lines. auth [authinfo_unavail=ignore success=1 default=2] pam_ldap.so use_first_pass auth [default=done] pam_ccreds.so action=validate use_first_pass auth [default=done] pam_ccreds.so action=store auth [default=bad] pam_ccreds.so action=update
For Feisty only, if you get an error after "You have been logged on using cached credentials" saying "Authentication service cannot retrieve authentication info" you might need to make some more changes to your common-account file. Add the following line to /etc/pam.d/common-account:
account required pam_permit.so
If you are using Gutsy or Hardy you should have these lines in /etc/pam.d/common-account.
account [user_unknown=ignore authinfo_unavail=ignore default=done] pam_unix.so account [user_unknown=ignore authinfo_unavail=ignore default=done] pam_ldap.so account required pam_permit.so
After the file is adjusted properly you must login while connected to the LDAP server once to make libpam-ccreds store your password. After that you will be able to login while not connected to the ldap server as usual. In a fresh install of Hardy, pam_foreground.so does not exist. Comment out the pam_foreground line in /etc/pam.d/common-session. This removes this error from /var/log/auth.log - 'PAM [error: /lib/security/pam_foreground.so: cannot open shared object file: No such file or directory]'. Until you fix this, you may not be able to use GUI programs that are used to change system settings - eg. the network manager.
session required pam_unix.so session required pam_mkhomedir.so skel=/etc/skel/ session optional pam_ldap.so #session optional pam_foreground.so
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=important.pngThere is a problem with libnss-ldap where, even for system users listed in /etc/passwd, LDAP is contacted to find out if the user is in any LDAP groups. This can cause the system to come to a virtual stand-still if the LDAP server is unavailable. To get around this problem, there is a directive called nss_initgroups_ignoreusers. List all your local system accounts after this directive. The article [1] suggests the following options in /etc/ldap.conf.
timelimit 15 bind_timelimit 15 bind_policy soft nss_initgroups_ignoreusers root,sys,... and all your other local system accounts in /etc/passwd ...
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=important.pngIf you have chosen to list all users in the initial logon dialog, this might crash when the LDAP server is unavailable. If so, disable this by setting the following line in /etc/gdm/gdm.conf-custom in the [greeter] section.
[greeter] : : IncludeAll=false : :
Testing
The easiest way to test is by using su. While the LDAP server is available do something like this and check that .security.db has been updated.
ls -l /var/cache/.security.db -rw------- 1 root root 8192 2008-08-28 08:31 /var/cache/.security.db date Thu Aug 28 10:09:03 EST 2008 su fred Password: exit ls -l /var/cache/.security.db -rw------- 1 root root 8192 2008-08-28 10:09 /var/cache/.security.db # the time stamp on .security.db shows that is has been updated with fred's password
You can run cc_dump. This is part of the libpam-ccreds package, and shows what passwords are stored in .security.db.
sudo cc_dump Credential Type User Service Cached Credentials ---------------------------------------------------------------------------------- Salted SHA1 fred any 4a985b233701cf106ed450a0168fa8e0aa86ef5d
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=important.pngThis failed for me when the user account's password was not encrypted as {SSHA} in the LDAP database. Using smbldap-passwd to change the password fixed this problem. Now disconnect the PC from the network (or shutdown the LDAP service) and do similar to this.
su fred Password: You have been logged on using cached credentials. exit # It works!
Warning for Ubuntu 5.01 Only
The packages needed for this feature are linked against libdb. To my experience all packages need to be linked against the same libdb to make everything work properly. This is not the case with ubuntu 5.10 were the installed packages would be the following:
libnss-db | 2.2-6.3ubuntu1 | libdb3 |
libpam-ccreds | 1-3 | libdb4.3 |
nss-updatedb | 4-1 | libdb4.3 |
Instead of libnss-db (2.2-6.3) i installed libnss-db (2.2.3) from the current debian testing (etch).
libnss-db | 2.2.3pre1-1 | libdb4.3 |
As mentioned above the libnss-db package from breezy/main is linked against libdb3 and will not work with nss-updatedb from breezy/universe. To circumvent this problem we need a package that is linked against libdb4.3 and auses no further dependencies. I recommend the libnss-db package from Debian testing (etch) which can be downloaded from [2]. To install the package open a terminal and type:
sudo dpkg -i libnss-db_2.2.3pre1-1_i386
Further Information
/usr/share/doc/nss-updatedb/*<
>
/usr/share/doc/libpam-ccreds/*<
>
[3]<
>
[4]<
>
[5]<
>