×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

what is the correct DN to search on RACF from LDAP?

what is the correct DN to search on RACF from LDAP?

what is the correct DN to search on RACF from LDAP?

(OP)
HEllo:

I have LDAP and RACF on Z/OS in Hercules emulator to Linux RedHat.

I managed to raise the LDAP server, and moreover test it with command as like:

#ldapsearch -h localhost -p 3389 -s base -D cn=LDAPADMINISTRATOR -w secret -b "sysplex=sysplex1" "objectclass=*"

#ldapsearch -h localhost -p 3389 -s base -b "cn=schema,cn=LDAPADMINISTRATOR" "objectclass=subschema"


But when I try the next commands:

#ldapsearch -h 127.0.0.1 -D racfid=IBMUSER,profiletype=user,sysplex=sysplex1 -w IBMUSER -b "racfid=IBMUSER,profiletype=user,sysplex=sysplex1" "objectclass=*"


#ldapsearch -h 127.0.0.1 -D cn=LDAPADMINISTRATOR,sysplex=sysplex1 -w secret -s base -b "racfid=IBMUSER,profiletype=user,cn=sysplex=sysplex1" -V3 "objectclass=*"


an both case I obtained the next message:

ldap_bind: insuffcient access
ldap_bind: aditional info: R000137 'cn=...' is not a valid RACF bind. Check that the syntax is correct and that it is a DN for a RACF user.


I understand the error message, but then, what is the correct DN?, in my config file to LDAP I have:

listen ldap://:3389
maxConnections 60
adminDN "cn=LDAPADMINISTRATOR"
adminPW "secret"
database sdbm GLDBSDBM
suffix "sysplex=sysplex1"


NOTE: I omitted the corresponding thing to DB2 and TDBM for that alone use the RACF database.

Thanks for any help.

RE: what is the correct DN to search on RACF from LDAP?

>'cn=...' is not a valid RACF bind
Try instead?
-b "racfid=IBMUSER,profiletype=user,sysplex=sysplex1"

RE: what is the correct DN to search on RACF from LDAP?

(OP)
Hi tsuji:

I sorry, the "..." only is simbolic, but I did several combinations as:

-b "racfid=IBMUSER,profiletype=user,sysplex=sysplex1"
-b "cn=LDAPADMINISTRATOR,profiletype=user,sysplex=sysplex1"

But the problem persist.

Thanks

RE: what is the correct DN to search on RACF from LDAP?

The detail of the hierachy I don't know---it's implementation dependent. But on the suffix part, cn=sysplex=syplex1 could be outright wrong. A quick check?...
    http://mvs-admin.nmsu.edu/Ldapjava/ldapdn.html

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close