× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thank you Jack.


Gary Monnier
*ATI Administrator*
*425.427.7959*

On Wed, Apr 25, 2018 at 11:07 AM, Jack Kingsley <iseriesflorida@xxxxxxxxx>
wrote:

Gary, I tried this command and got the same result. The file defaults it
to a file to be created in QTEMP library called QAP0ZDMP. It appears
possibly that you don't have the adequate authorities in order to perform
the operation.




Here is a link on some LDAP items:
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ibm.com_support_
knowledgecenter_ssw-5Fibm-5Fi-5F72_rzahy_rzahydebugoption.htm&d=DwIGaQ&c=
pApUd0AUA6FmKRo01iR_VA&r=r7w16KGEqE6t2tVCvCsz4_ztz5b0wbCtdhwrG0PzYq8&m=
7L9Vg8VZEp3YzPbZBtWjMBQrtLUnFhQorX93032zp8U&s=
7j30uV3OpLtUoLFZqJPLFtUilltFWxduUx6yRGMc20I&e=



On Mon, Apr 23, 2018 at 12:43 PM, Gary Monnier <gmonnier@xxxxxxxxxx>
wrote:

Hi,

I'm changing an LDAP access process to go after Active Directory rather
than one that is being retired. The retiring LDAP directory is not AD.

This should be an easy conversion: Get a service account on the AD
system,
change the connection information to connect to AD and adjust the search
names to meet AD's naming.

So far this has been true. We can verify AD is reached and the process
is
binding to AD

Here's the basic steps being followed.

ldap_init() returns a pointer/handle so it is connecting to something.
We've verified it is the correct AD.

ldap_simple_bind_s() returns 0 so it is binding to what it contacted.
We've verified the bind is occurring on the AD box

ldap_search_st() returns 0 and the result has something in it. So this
appears to work.

ldap_first_entry() returns null and there isn't an error code generated
for
it.

ldap_get_errno() and ldap_get_iderrno() both return 0.

I need to find out what is happening between ldap_search_st() and
ldap_first_entry(). IBM's web site says adding an environment variable
for
the ldap client will start tracing.
Assuming my job is the LDAP client I added it under my job.

ADDENVVAR ENVVAR(LDAP_DEBUG) VALUE(65535)

I then ran the process using LDAP to connect to AD.

When I tried dumping the trace data I received CPFA98B.

DMPUSRTRC JOB(*)

Message . . . . : The User Trace buffer associated with job

999999/xxxxxxx/xxxxxxxxxx could not be dumped.

Cause . . . . . : Either you are not authorized to dump the requested
User
Trace buffer or the buffer does not exist.

Recovery . . . : If the user space object associated with the User
Trace
buffer exists, have the owner grant you authority to that user space
object
and try the command again. If the buffer does not exist, omit the
command.


IBM then says to run

DSPPFM QAP0ZDMP

I can't find QAP0ADMP anywhere.

Anyone have any ideas on how I can get the LDAP debug process working, or
an inkling on what is occurring between ldap_search_st() and
ldap_first_entry()?



Thank you,

Gary Monnie
​r​
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.
midrange.com_mailman_listinfo_midrange-2Dl&d=DwIGaQ&c=
pApUd0AUA6FmKRo01iR_VA&r=r7w16KGEqE6t2tVCvCsz4_ztz5b0wbCtdhwrG0PzYq8&m=
7L9Vg8VZEp3YzPbZBtWjMBQrtLUnFhQorX93032zp8U&s=
MiZ5ydiPCYmaNbHFhuNeKy2H2WiaqQqALkacLge1F-0&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?u=https-3A__
archive.midrange.com_midrange-2Dl&d=DwIGaQ&c=pApUd0AUA6FmKRo01iR_VA&r=
r7w16KGEqE6t2tVCvCsz4_ztz5b0wbCtdhwrG0PzYq8&m=
7L9Vg8VZEp3YzPbZBtWjMBQrtLUnFhQorX93032zp8U&s=KoXEBsXoXzGQwgjqxYsNInqaFl_
tdUgWB-6TQI0M0Wk&e=.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_
2dEadiD&d=DwIGaQ&c=pApUd0AUA6FmKRo01iR_VA&r=r7w16KGEqE6t2tVCvCsz4_
ztz5b0wbCtdhwrG0PzYq8&m=7L9Vg8VZEp3YzPbZBtWjMBQrtLUnFhQorX93032zp8U&s=
1KEpHICukVdmTGtDIH74sLZbmX1v-pOoDERi9Yabl4c&e=

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.
midrange.com_mailman_listinfo_midrange-2Dl&d=DwIGaQ&c=
pApUd0AUA6FmKRo01iR_VA&r=r7w16KGEqE6t2tVCvCsz4_ztz5b0wbCtdhwrG0PzYq8&m=
7L9Vg8VZEp3YzPbZBtWjMBQrtLUnFhQorX93032zp8U&s=
MiZ5ydiPCYmaNbHFhuNeKy2H2WiaqQqALkacLge1F-0&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?u=https-3A__
archive.midrange.com_midrange-2Dl&d=DwIGaQ&c=pApUd0AUA6FmKRo01iR_VA&r=
r7w16KGEqE6t2tVCvCsz4_ztz5b0wbCtdhwrG0PzYq8&m=
7L9Vg8VZEp3YzPbZBtWjMBQrtLUnFhQorX93032zp8U&s=KoXEBsXoXzGQwgjqxYsNInqaFl_
tdUgWB-6TQI0M0Wk&e=.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_
2dEadiD&d=DwIGaQ&c=pApUd0AUA6FmKRo01iR_VA&r=r7w16KGEqE6t2tVCvCsz4_
ztz5b0wbCtdhwrG0PzYq8&m=7L9Vg8VZEp3YzPbZBtWjMBQrtLUnFhQorX93032zp8U&s=
1KEpHICukVdmTGtDIH74sLZbmX1v-pOoDERi9Yabl4c&e=


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.