Thanks Henrik,
I tried that and it didn't work.
I've put several variations in bb-hosts, but ldap, always comes back green saying it's O.K., it never seems to actually go try to do an LDAP test.
Is there a manual process I can use to see if it's trying to do the ldap test.
One thing is that I originally compiled the program without LDAP support enabled, then went back and re-enabled support and recompiled and installed. Would perhaps something not get changed in the config files that should have?
It's as though the bb-hosts entry ignores anything after the ldap:hostname designation.
On another note, I tried using another port in the designation: ldap:hostname:3890, another system we have uses different port number for ldap. However, this would not work either. It kept going to port 389 verse 3890, and they don't have an ldap on that port.
Thanks for the help...James
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Tuesday, November 14, 2006 4:42 PM To: hobbit at hswn.dk Subject: Re: [hobbit] LDAP Test
On Tue, Nov 14, 2006 at 04:16:47PM -0600, James Wade wrote:
I've tried this:
ldap://systemA:389/ou=my,o=test,st=tx,c=us ldaplogin=ldapuser:passwdd
Do read the man-page. LDAP URL's are notoriously complex beasts; you would need something like
ldap://systemA:389/ou=my,o=test,st=tx,c=us??sub?(uid=thomsonm)
"sub" is the "scope" of the search and "uid=thomsonm" is the search criteria
used to pick a single record from the directory (the "search filter" in LDAP
lingo). The exact syntax is:
ldap://hostport/dn[?attrs[?scope[?filter[?exts]]]]
Check for an LDAP service by performing an LDAP request.
This tag is in the form of an LDAP URI (cf. RFC 2255).
This type of LDAP test requires that bbtest-net(1) was
built with support for LDAP, e.g. via the OpenLDAP library.
The components of the LDAP URI are:
* hostport is a host name with an optional ":portnumber"
* dn is the search base
* attrs is a comma separated list of attributes to request
* scope is one of these three strings:
base one sub (default=base)
* filter is filter
* exts are recognized set of LDAP and/or API extensions.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk