Results 1 to 2 of 2

Thread: How do I prevent nscd from looking for LDAP?

  1. #1

    Default How do I prevent nscd from looking for LDAP?

    opensuse 42.2

    It is true: There is no LDAP service running on the server system. There is nothing in </tec/nscd.conf> about LDAP. ncsd's persistence is cluttering the system journal with useless messages.

    How do I convince nsc (name service cache) not to bother looking for LDAP?

    Code:
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: failed to bind to LDAP server ldap://localhost: Can't contact LDAP server
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: failed to bind to LDAP server ldap://localhost: Can't contact LDAP server
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: could not search LDAP server - Server is unavailable
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: failed to bind to LDAP server ldap://localhost: Can't contact LDAP server
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: failed to bind to LDAP server ldap://localhost: Can't contact LDAP server
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: could not search LDAP server - Server is unavailable
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: failed to bind to LDAP server ldap://localhost: Can't contact LDAP server
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: failed to bind to LDAP server ldap://localhost: Can't contact LDAP server
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: could not search LDAP server - Server is unavailable
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: failed to bind to LDAP server ldap://localhost: Can't contact LDAP server
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: failed to bind to LDAP server ldap://localhost: Can't contact LDAP server
    2017-05-08T15:19:36-0700 sma-server3 nscd[1316]: nss_ldap: could not search LDAP server - Server is unavailable

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,619
    Blog Entries
    3

    Default Re: How do I prevent nscd from looking for LDAP?

    A wild guess here. Check "/etc/nsswitch.conf".
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •