Bug #132

[LDAP] inconsistent setup

Added by Dmitry Osintsev about 14 years ago. Updated over 10 years ago.

Status:New Start:02/25/2010
Priority:High Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:-
Votes: 2

Description

/etc/openldap/ldap.conf should contain on both sides (client/server) at least:

BASE            dc=calculate
URI             ldap://192.168.0.1:389/
                       ^^^^^|^^^^^
                            +------- FQDN or IP of LDAP server

It gives us working ldap* utilities and let some programmes do LDAP lookups properly (i.e. sshd, su, mountd and such (through nss_ldap))

History

Updated by Dmitry Osintsev about 14 years ago

Also /etc/ldap.secret should have a password of LDAP servers's DN=ou=Unix,ou=Services,dc=calculate

Updated by Alexander Tratsevskiy about 13 years ago

  • Assignee set to Alexey Samoukin

Updated by Dmitry Fomenko almost 11 years ago

  • Assignee deleted (Alexey Samoukin)
  • Priority changed from Normal to High

Guys, can we deal with it? Looking not very hard to fix it. Please take a look to the fresh snippet from logs:

Jun 6 13:58:04 ws07 su15685: pam_ldap: could not open secret file /etc/ldap.secret (No such file or directory)

Updated by Dmitry Fomenko almost 11 years ago

Another one situation caused by this issue:

Jun 6 12:18:43 ws02 zsh: nss_ldap: could not get LDAP result - Can't contact LDAP server
Jun 6 12:19:03 ws02 xscreensaver: nss_ldap: could not search LDAP server - Server is unavailable
Jun 6 12:34:22 ws02 urxvt: nss_ldap: could not search LDAP server - Server is unavailable
Jun 6 12:34:23 ws02 mc: nss_ldap: could not search LDAP server - Server is unavailable
Jun 6 13:06:32 ws02 urxvt: nss_ldap: could not search LDAP server - Server is unavailable

Updated by Mikhail Hiretsky almost 11 years ago

Try to remove /etc/ldap.conf.

Also available in: Atom PDF

Thank you!