LDAP question (Previously no subject)

Rick Stevens ricks at nerd.com
Fri Sep 25 18:57:28 UTC 2009


Bruno Wolff III wrote:
> On Fri, Sep 25, 2009 at 07:52:35 -0700,
>   bruce <bedouglas at earthlink.net> wrote:
>> as an example, i tried to use:
>> 	ldapsearch -x -h ldap.bu.edu -b "dc=bu,dc=edu" "(sn=tom*)"
>> 	(but this generates a ldap_bind: protocol error...
> 
> I looked through the man page and tried a couple of things that seemed might
> work and found the -P 2 option got this query to work.

Yes, that forces LDAP protocol V2.  By default, newer LDAP clients (and
servers) default to LDAP protocol V3, which uses SASL to encrypt the
authentication.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-                   To err is human, to moo bovine.                  -
----------------------------------------------------------------------




More information about the fedora-list mailing list