[Bug 761463] Re: edquota crashes when used with libnss-db
I think that this is the same bug described here: * https://bugzilla.redhat.com/show_bug.cgi?id=703567 * http://sourceforge.net/tracker/index.php?func=detail&aid=3300978&group_id=18136&atid=118136 Apparently a fix was committed upstream in version 4.00_pre2, so I guess this bug is fixed in Ubuntu release 12.04 and higher http://lists.fedoraproject.org/pipermail/scm- commits/2011-May/604785.html ** Bug watch added: Red Hat Bugzilla #703567 https://bugzilla.redhat.com/show_bug.cgi?id=703567 ** Bug watch added: SourceForge.net Tracker #3300978 http://sourceforge.net/support/tracker.php?aid=3300978 ** Package changed: libnss-db (Ubuntu) => quota (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to quota in Ubuntu. https://bugs.launchpad.net/bugs/761463 Title: edquota crashes when used with libnss-db To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/quota/+bug/761463/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 375669] Re: auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable
Thanks again Chuck, I think my /etc/pam.d/cron is already identical to Upen's, http://www.sfu.ca/~jdbates/tmp/ubuntu/200910210/cron Here's my /etc/pam.d/common-auth, http://www.sfu.ca/~jdbates/tmp/ubuntu/200910210/common-auth -- auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable https://bugs.launchpad.net/bugs/375669 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 375669] Re: auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable
Thanks again Chuck, I confirmed that I'm still experiencing this problem, [...] Oct 9 17:06:45 juno cron[3219]: nss_ldap: could not connect to any LDAP server as cn=admin,dc=artefactual,dc=com - Can't contact LDAP server Oct 9 17:06:45 juno cron[3219]: nss_ldap: failed to bind to LDAP server ldap://ldap.artefactual.com: Can't contact LDAP server Oct 9 17:06:45 juno cron[3219]: nss_ldap: reconnecting to LDAP server... Oct 9 17:06:45 juno cron[3219]: nss_ldap: could not connect to any LDAP server as cn=admin,dc=artefactual,dc=com - Can't contact LDAP server Oct 9 17:06:46 juno cron[3219]: nss_ldap: failed to bind to LDAP server ldap://ldap.artefactual.com: Can't contact LDAP server Oct 9 17:06:47 juno cron[3219]: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)... Oct 9 17:06:47 juno cron[3219]: nss_ldap: could not connect to any LDAP server as cn=admin,dc=artefactual,dc=com - Can't contact LDAP server Oct 9 17:06:47 juno cron[3219]: nss_ldap: failed to bind to LDAP server ldap://ldap.artefactual.com: Can't contact LDAP server Oct 9 17:06:48 juno cron[3219]: nss_ldap: could not search LDAP server - Server is unavailable [...] - and that I still experience this problem after adding [UNAVAIL=return] to /etc/nsswitch.conf Here's my complete /etc/nsswitch.conf, http://www.sfu.ca/~jdbates/tmp/ubuntu/200910100/nsswitch.conf -- auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable https://bugs.launchpad.net/bugs/375669 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 375669] Re: auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable
Thanks Chuck, as far as I know I'm still experiencing this problem - I'll try modifying nsswitch.conf as you suggest and check if that corrects the problem - thanks again! -- auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable https://bugs.launchpad.net/bugs/375669 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 375669] [NEW] auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable
Public bug reported: Binary package hint: libnss-ldap If I create a crontab for an LDAP user, I consistently see these messages in auth.log when I boot, [...] May 12 12:55:39 juno cron[5014]: nss_ldap: could not connect to any LDAP server as cn=admin,dc=artefactual,dc=com - Can't contact LDAP server May 12 12:55:40 juno cron[5014]: nss_ldap: failed to bind to LDAP server ldap://ldap.artefactual.com: Can't contact LDAP server May 12 12:55:40 juno cron[5014]: nss_ldap: reconnecting to LDAP server... May 12 12:55:40 juno cron[5014]: nss_ldap: could not connect to any LDAP server as cn=admin,dc=artefactual,dc=com - Can't contact LDAP server May 12 12:55:40 juno cron[5014]: nss_ldap: failed to bind to LDAP server ldap://ldap.artefactual.com: Can't contact LDAP server May 12 12:55:40 juno cron[5014]: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)... May 12 12:55:40 juno cron[5014]: nss_ldap: could not connect to any LDAP server as cn=admin,dc=artefactual,dc=com - Can't contact LDAP server May 12 12:55:41 juno cron[5014]: nss_ldap: failed to bind to LDAP server ldap://ldap.artefactual.com: Can't contact LDAP server May 12 12:55:41 juno cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable [...] - and the LDAP user's crontab doesn't run, though other crontabs do. If I remove the LDAP user's crontab and reboot, the messages aren't generated. The LDAP server is on the LAN and is available - for example, after boot, gdmgreeter lists LDAP users. The machine with the crontab has this line in /etc/hosts, [...] 192.168.1.2 amos.artefactual.com ldap.artefactual.com [...] Both machines are Dell Optiplex 320 running Intrepid Ibex. The LDAP server is running slapd 2.4.11-0ubuntu6.1 ** Affects: libnss-ldap (Ubuntu) Importance: Undecided Status: New -- auth.log boot cron[5014]: nss_ldap: could not search LDAP server - Server is unavailable https://bugs.launchpad.net/bugs/375669 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 343762] [NEW] postinst ignores dpkg-statoverride
Public bug reported: Binary package hint: slapd /var/lib/ldap is owner "openldap", group "openldap". I give it permission 770 so that members of the "openldap" group can run slapcat. I run a daily cron job to backup the LDAP directory using slapcat. Currently the job is in an "administrator" user's crontab. I prefer not to run the backup script as root. I suppose I could somehow run it as the "openldap" user? However I have so far made "administrator" a member of the "openldap" group, to have permission to run slapcat. I added a dpkg-statoverride to give /var/lib/ldap permission 770: administra...@amos:~$ dpkg-statoverride --list /var/lib/ldap openldap openldap 770 /var/lib/ldap administra...@amos:~$ - however whenever I upgrade the slapd package, the permission on /var/lib/ldap is reset to 750. I think this line (chmod) in slapd.postinst is responsible: [...] update_permissions() { # {{{ dir="$1" [ -z "${SLAPD_USER}" ] || chown -R "${SLAPD_USER}" "${dir}" [ -z "${SLAPD_GROUP}" ] || chgrp -R "${SLAPD_GROUP}" "${dir}" chmod -R u=rwX,g=rX,o-rwx "${dir}" } # }}} [...] ** Affects: openldap (Ubuntu) Importance: Undecided Status: New -- postinst ignores dpkg-statoverride https://bugs.launchpad.net/bugs/343762 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs