You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
when I issue the following command I get the following error message: root@ldap:~# ssh-ldap-pubkey list -b ou=users,dc=intern,dc=example,dc=com -H ldaps://ldap.intern.example.com -u stefan.harbich Traceback (most recent call last): File "/usr/local/bin/ssh-ldap-pubkey", line 144, in <module> main(**kwargs) File "/usr/local/bin/ssh-ldap-pubkey", line 126, in main keys = ldapssh.find_pubkeys(login) File "/usr/local/lib/python2.7/dist-packages/ssh_ldap_pubkey/__init__.py", line 209, in find_pubkeys return self._find_pubkeys(self.find_dn_by_login(login)) File "/usr/local/lib/python2.7/dist-packages/ssh_ldap_pubkey/__init__.py", line 240, in find_dn_by_login result = self._conn.search_s(conf.base, conf.scope, filter_s, ['dn']) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 852, in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 845, in search_ext_s msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 841, in search_ext timeout,sizelimit, File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 329, in _ldap_call reraise(exc_type, exc_value, exc_traceback) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 313, in _ldap_call result = func(*args,**kwargs) ldap.SERVER_DOWN: {'info': u'(unknown error code)', 'errno': 115, 'desc': u"Can't contact LDAP server"}
The LDAP server is online:
`root@ldap:# netstat -tulpen | grep 636
tcp 0 0 192.168.20.20:636 0.0.0.0:* LISTEN 0 53490689 32604/slapd
root@ldap:# nslookup
192.168.20.20
20.20.168.192.in-addr.arpa name = dsme01.intern.example.com.
20.20.168.192.in-addr.arpa name = ldap.intern.example.com.
20.20.168.192.in-addr.arpa name = mysql.intern.example.com.
`
Could it be a rights issue?
Greetings from Stefan Harbich
The text was updated successfully, but these errors were encountered:
Hi,
when I issue the following command I get the following error message:
root@ldap:~# ssh-ldap-pubkey list -b ou=users,dc=intern,dc=example,dc=com -H ldaps://ldap.intern.example.com -u stefan.harbich Traceback (most recent call last): File "/usr/local/bin/ssh-ldap-pubkey", line 144, in <module> main(**kwargs) File "/usr/local/bin/ssh-ldap-pubkey", line 126, in main keys = ldapssh.find_pubkeys(login) File "/usr/local/lib/python2.7/dist-packages/ssh_ldap_pubkey/__init__.py", line 209, in find_pubkeys return self._find_pubkeys(self.find_dn_by_login(login)) File "/usr/local/lib/python2.7/dist-packages/ssh_ldap_pubkey/__init__.py", line 240, in find_dn_by_login result = self._conn.search_s(conf.base, conf.scope, filter_s, ['dn']) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 852, in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 845, in search_ext_s msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 841, in search_ext timeout,sizelimit, File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 329, in _ldap_call reraise(exc_type, exc_value, exc_traceback) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 313, in _ldap_call result = func(*args,**kwargs) ldap.SERVER_DOWN: {'info': u'(unknown error code)', 'errno': 115, 'desc': u"Can't contact LDAP server"}
The LDAP server is online:
`root@ldap:
# netstat -tulpen | grep 636# nslookuptcp 0 0 192.168.20.20:636 0.0.0.0:* LISTEN 0 53490689 32604/slapd
root@ldap:
Greetings from Stefan Harbich
The text was updated successfully, but these errors were encountered: