John, here's what I came up with. Basically a scripty that looks for ldap
against the hipersocket vs ldap over the wire. It's not as robust as it
could be to be totally idiot proof, but since I'm the idiot in question It's
written for me. Basically it will test the hipersocket unless I tell it
to do the wire. That's fine by me.
#! /bin/bash
# Testing script to see if RACF LDAP is functioning on z/OS
if [ $# != 2 ];
then
echo "Incorrect number of arguments passed."
echo "Usage: searchldap {RACF userid} [wire | hiper] - Enter RACF password
when prompted."
else
if [ $2 = "wire" ] ;
then
targ_IP="137.70.101.60"
interface="Ethernet"
else
targ_IP="192.168.252.1"
interface="Hipersocket"
fi
echo "LDAP being queried over "$interface
ldapsearch -v -x -h $targ_IP -D
racfid=$1,profiletype=user,ou=racf,o=co.hennepin.mn,c=us -W -b
racfid=$1,profiletype=user,ou=racf,o=co.hennepin.mn,c=us
fi
John Summerfied <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port
<[email protected]>
To
[email protected]
cc
03/23/2006 05:38 AM
Subject
Re: Trying
to use ldapsearch command from linux to query RACFLDAP
Please respond to
Linux on 390 Port <[email protected]>
James Melin wrote:
> I've got a New requirement for our DR test, and that is to verify RACFLDAP
> can be accessed on z/OS from linux before websphere starts.
>
> I started with this ldapsearch that worked on z/OS USS land:
>
> ldapsearch -h hawk -p 389 -s base -b "" "objectclass =*" subschemasubentry
>
> This returns: subschemasubentry=CN=SCHEMA,ou=racf,o=co.hennepin.mn,c=us
>
> as expected.
>
> When I try that same command on my linux box:
---------snip-----------
I like these because they prompt me to try things out. I've recently
inherited the school's Windows network in addition to the Linux which I
already had and some macs, so I need to learn these things.
Without thought, I suggest this:
http://www.google.com/search?q=ldapsearch+examples&ie=UTF-8&oe=UTF-8
Now, I'm off to try some of these against our domain controller:-)
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
do not reply off-list
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390