Subject: How do I use LDAP that requires authorization?

From: Kenneth Crudup <[email-masked]>
Date: Thu, 23 May 2002 20:07:58 -0700 (PDT)

I've been attempting to set up the LDAP server, but it appears I have to be
authenticated to it first.

if I use:

  ldapsearch -D "cn=kcrudup" -W  -b "cn=Recipients,ou=IRVINE,o=Pacific Digital" "(sn=crudup)"

I get prompted for my LDAP password (same as my mail password, BTW), and the
search works. If I don't use the "-D" and "-W" authentication options, I get:

  version: 2

  #
  # filter: (sn=crudup)
  # requesting: ALL
  #

  # search result
  search: 2
  result: 50 Insufficient access

  # numResponses: 1

So, even though I try and add the parameter from the "-b" option above to my
M-S-D-<ldap entry>-search-base, it fails 'cause there appears to be no
way to specify the "binddn" ("-D") option's necessary parameter (nor PW,
it appears).

Any hints?

	-Kenny

-- 
Kenneth R. Crudup    Sr. SW Engineer, Scott County Consulting   (510) 745-0101
Home:	4105 E. Willow St. #246, Long Beach, CA 90815-1740
Work:	2052 Alton Parkway, Irvine, CA 92606-4905	   (949) 252-1111 X240

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------