<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Henrik Stoerner wrote:
<blockquote cite="mid20060704085237.GC7349@hswn.dk" type="cite">
  <pre wrap="">On Tue, Jul 04, 2006 at 05:25:23PM +1000, ZanDAhaR wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">We have been given an LDAP server to host for someone to use as a 
directory for another application and would like to do some tests on 
querying users and the response time rather than just testing that port 
389 or 636 responds however the base dn has a space in it.

I thought about putting it inside quotes but then wasnt sure how much of 
the string to put into quotes.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
You can always put the whole <a class="moz-txt-link-rfc2396E" href="ldap://....">"ldap://...."</a> thing in quotes.

Alternatively, since this is really a URL you can use %-quoting of the
spaces in the URL. E.g. <a class="moz-txt-link-freetext" href="ldap://myserver/my%20dn??sub?uid=100">ldap://myserver/my%20dn??sub?uid=100</a> since
space is ASCII 0x20.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Also the server requires a bind user name 
and password there is no anonymous, and 99.9% of the user names also 
have a space, in this case "ldap manager"
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Use ldaplogin="ldap manager" in addition to the <a class="moz-txt-link-freetext" href="ldap://">ldap://</a>... url.


Henrik


To unsubscribe from the hobbit list, send an e-mail to
<a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>

  </pre>
</blockquote>
Cool thanks for that Henrik. I knew I could probably quote the login
but wasnt sure about the ldap tag. Forgot all about converting it to
%20 also :)<br>
<br>
Thanks<br>
<br>
Allan<br>
</body>
</html>