So I got the DNS entry created...
Code: Select all
[root@kdcbchngoxi01 ~]# nslookup kdcbchngoxi01
Server: 10.242.74.147
Address: 10.242.74.147#53
Name: kdcbchngoxi01.domain.local
Address: 10.242.13.75
So that's working now. But using TLS/SSL options won't work. Using "NONE" will authenticates.
Code: Select all
ldap_url_parse_ext(ldaps://DC)
ldap_create
ldap_url_parse_ext(ldaps://DC:636/??base)
Enter LDAP Password:
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP DC:636
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying <IP>:636
ldap_pvt_connect: fd: 3 tm: -1 async: 0
attempting to connect:
connect success
TLS: certdb config: configDir='/etc/openldap/certs' tokenDescription='ldap(0)' certPrefix='' keyPrefix='' flags=readOnly
TLS: using moznss security dir /etc/openldap/certs prefix .
TLS: loaded CA certificate file /etc/openldap/cacerts.pem.
TLS: certificate [<REMOVED>] is valid
TLS certificate verification: subject: <REMOVED>, issuer: CN=VeriSign Class 3 Secure Server CA - G3,OU=Terms of use at https://www.verisign.com/rpa (c)10,OU=VeriSign Trust Network,O="VeriSign, Inc.",C=US, cipher: AES-128, security level: high, secret key bits: 128, total key bits: 128, cache hits: 0, cache misses: 0, cache not reusable: 0
ldap_open_defconn: successful
ldap_send_server_request
ber_scanf fmt ({it) ber:
ber_scanf fmt ({i) ber:
ber_flush2: 28 bytes to sd 3
ldap_result ld 0x173b300 msgid 1
wait4msg ld 0x173b300 msgid 1 (infinite timeout)
wait4msg continue ld 0x173b300 msgid 1 all 1
** ld 0x173b300 Connections:
* host: DC port: 636 (default)
refcnt: 2 status: Connected
last used: Mon Apr 13 16:09:25 2015
** ld 0x173b300 Outstanding Requests:
* msgid 1, origid 1, status InProgress
outstanding referrals 0, parent count 0
ld 0x173b300 request count 1 (abandoned 0)
** ld 0x173b300 Response Queue:
Empty
ld 0x173b300 response count 0
ldap_chkResponseList ld 0x173b300 msgid 1 all 1
ldap_chkResponseList returns ld 0x173b300 NULL
ldap_int_select
read1msg: ld 0x173b300 msgid 1 all 1
ber_get_next
ber_get_next: tag 0x30 len 16 contents:
read1msg: ld 0x173b300 msgid 1 message type bind
ber_scanf fmt ({eAA) ber:
read1msg: ld 0x173b300 0 new referrals
read1msg: mark request completed, ld 0x173b300 msgid 1
request done: ld 0x173b300 msgid 1
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_parse_result
ber_scanf fmt ({iAA) ber:
ber_scanf fmt (}) ber:
ldap_msgfree
ldap_search_ext
put_filter: "(sAMAccountName=username)"
put_filter: simple
put_simple_filter: "sAMAccountName=username"
ldap_send_initial_request
ldap_send_server_request
ber_scanf fmt ({it) ber:
ber_scanf fmt ({) ber:
ber_flush2: 97 bytes to sd 3
ldap_result ld 0x173b300 msgid -1
wait4msg ld 0x173b300 msgid -1 (infinite timeout)
wait4msg continue ld 0x173b300 msgid -1 all 0
** ld 0x173b300 Connections:
* host: DC port: 636 (default)
refcnt: 2 status: Connected
last used: Mon Apr 13 16:09:25 2015
** ld 0x173b300 Outstanding Requests:
* msgid 2, origid 2, status InProgress
outstanding referrals 0, parent count 0
ld 0x173b300 request count 1 (abandoned 0)
** ld 0x173b300 Response Queue:
Empty
ld 0x173b300 response count 0
ldap_chkResponseList ld 0x173b300 msgid -1 all 0
ldap_chkResponseList returns ld 0x173b300 NULL
ldap_int_select
read1msg: ld 0x173b300 msgid -1 all 0
ber_get_next
ber_get_next: tag 0x30 len 124 contents:
read1msg: ld 0x173b300 msgid 2 message type search-reference
ber_scanf fmt ({v) ber:
ber_scanf fmt (}) ber:
# refldaps://DC
ldap_msgfree
ldap_result ld 0x173b300 msgid -1
wait4msg ld 0x173b300 msgid -1 (infinite timeout)
wait4msg continue ld 0x173b300 msgid -1 all 0
** ld 0x173b300 Connections:
* host: DC port: 636 (default)
refcnt: 2 status: Connected
last used: Mon Apr 13 16:09:25 2015
** ld 0x173b300 Outstanding Requests:
* msgid 2, origid 2, status InProgress
outstanding referrals 0, parent count 0
ld 0x173b300 request count 1 (abandoned 0)
** ld 0x173b300 Response Queue:
Empty
ld 0x173b300 response count 0
ldap_chkResponseList ld 0x173b300 msgid -1 all 0
ldap_chkResponseList returns ld 0x173b300 NULL
read1msg: ld 0x173b300 msgid -1 all 0
ber_get_next
ber_get_next: tag 0x30 len 16 contents:
read1msg: ld 0x173b300 msgid 2 message type search-result
ber_scanf fmt ({eAA) ber:
read1msg: ld 0x173b300 0 new referrals
read1msg: mark request completed, ld 0x173b300 msgid 2
request done: ld 0x173b300 msgid 2
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 2, msgid 2)
ldap_parse_result
ber_scanf fmt ({iAA) ber:
ber_scanf fmt (}) ber:
ldap_msgfree
ldap_free_connection 1 1
ldap_send_unbind
ber_flush2: 7 bytes to sd 3
ldap_free_connection: actually freed