[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_search: DSA is unwilling to perform ?



I ran into the same problem after my initial install.  The following fixed
the problem for me:

1) Use the "-w" option with ldap search and specify your password (If you
   are using the defualt slapd.conf your password is "secret".  See the
   rootpw entry.)
2) Specify a search base, either in the ldap.conf or in the ldpapsearch
   command.  To specify a search base in the ldap.conf add this entry:

   BASE	   o=MyOrg, c=MyCountryCode

   In my ldap.conf I have "BASE o=MRNet, c=US".  To override the BASE in
   ldap.conf and specify on the command line, use -b "o=MyORG,
    c=MyCountryCode".  For example, to search my ldap databse I would do:
   
   ldapsearch -w secret -b "o=MRNet, c=USA" "objectclass=*"


Hope this helps.  If not I would advise searching the openldap mailling
list archives at the url below.  There isn't much traffic on this list,
and they archives helped me get started.

http://www.openldap.org/lists/openldap-general/

P.S. If you are running your slapd server locally, you don't need the -h
argument.  The default is localhost.
 
on Thursday, Mar 18, 1999, 
 Cong Ly spewed forth from his/her keyboard:
> Hi Everyone,
> 
>   I tried to run this commandline ldapsearch -h 127.0.0.1 'objectclass=*'
>   and got this error
>   ldap_search: DSA is unwilling to perform
> 
>   Does anyone know what this could be?
> 
> 
>  Thanks!
> 
> 

-- 
-----------------------------------------------------------------
Brett Bond Paden                                bpaden@mr.net
System Administrator                            612.362.5800 x892
mrNet/means                                     http://www.mr.net
-----------------------------------------------------------------
"Beefcake! Beefcake!"
-----------------------------------------------------------------