James Melin wrote:
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.
<snip>
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
Ripper!
You did better than I, but after I figured the line-wrap above, I
eventually came up with this:
ldapsearch -x -H ldap://Nabarlek.demo.lan/ \
-D 'cn=John Summerfield,cn=Users,dc=wagtail,dc=lap' \
-W -b 'dc=wagtail,dc=lap' | head
which spews lotsa stuff.
Thanks.
Nabarlek, btw, is my laptop. I've discovered it's fairly handy having a
portable server.
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
----------------------------------------------------------------------
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