[Date Prev][Date Next] [Chronological] [Thread] [Top]

openldap installed, running but can't connect remotely

Hi group,

I hope this is the right list to post this under. I have been having a problem connecting to an ldap server I just set up on ubuntu 10.10

I can use ldapsearch locally and get good results.

but when I try to connect remotely IE:

sudo ldapsearch -xLLL -W -H ldap://ice.rit.edu -d1  "dc=easydita,dc=com"

(See end of debug)

Enter LDAP Password:
ldap_new_connection 1 1 0
ldap_connect_to_host: TCP ice.rit.edu:389
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying
ldap_pvt_connect: fd: 3 tm: -1 async: 0
ldap_open_defconn: successful
ber_scanf fmt ({it) ber:
ber_scanf fmt ({i) ber:
ber_flush2: 34 bytes to sd 3
ldap_result ld 0xb8940170 msgid 1
wait4msg ld 0xb8940170 msgid 1 (infinite timeout)
wait4msg continue ld 0xb8940170 msgid 1 all 1
** ld 0xb8940170 Connections:
* host: coheed.rit.edu  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Thu Mar 17 19:42:29 2011

** ld 0xb8940170 Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
  ld 0xb8940170 request count 1 (abandoned 0)
** ld 0xb8940170 Response Queue:
  ld 0xb8940170 response count 0
ldap_chkResponseList ld 0xb8940170 msgid 1 all 1
ldap_chkResponseList returns ld 0xb8940170 NULL
read1msg: ld 0xb8940170 msgid 1 all 1
ber_get_next: tag 0x30 len 16 contents:
read1msg: ld 0xb8940170 msgid 1 message type bind
ber_scanf fmt ({eAA) ber:
read1msg: ld 0xb8940170 0 new referrals
read1msg:  mark request completed, ld 0xb8940170 msgid 1
request done: ld 0xb8940170 msgid 1
res_errno: 49, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ber_scanf fmt ({iAA) ber:
ber_scanf fmt (}) ber:
ldap_bind: Invalid credentials (49)

I think I set up my admin password correctly, but I don't know how to verify this.

This info may help too: Contents of /etc/ldap/slapd.d/cn=config/olcDatabase={0}config.ldif

dn: olcDatabase={0}config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcAccess: {0}to * by dn.exact=cn=localroot,cn=config manage by * break
olcRootDN: cn=admin,cn=config
structuralObjectClass: olcDatabaseConfig
entryUUID: eca09490-e524-102f-87c5-17d7a82e8985
creatorsName: cn=config
createTimestamp: 20110317205733Z
entryCSN: 20110317205733.193089Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20110317205733Z
I've spent about 5 hours now trying to get this to work so any help would be much appreciated.



Casey Jordan
easyDITA a product of Jorsek LLC
"CaseyDJordan" on LinkedIn, Twitter & Facebook
Cell (585) 348 7399
Office (585) 239 6060

This message is intended only for the use of the Addressee(s) and may
contain information that is privileged, confidential, and/or exempt from
disclosure under applicable law.  If you are not the intended recipient,
please be advised that any disclosure  copying, distribution, or use of
the information contained herein is prohibited.  If you have received
this communication in error, please destroy all copies of the message,
whether in electronic or hard copy format, as well as attachments, and
immediately contact the sender by replying to this e-mail or by phone.
Thank you.