[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: openldap-release install
I had similar problems at first. Check a few things:
Weber Wung wrote:
>
> I am successfully running a openldap server in one of our Linux machine,
> although I have not figured out how to make the access control part work
> yet (if someone is expert in access control, please help me!!). Then one
> week ago, I download the new release from OpenLDAP.org and installed
> according to the instruction, and compiled without any problem. Then I did
> the following,
>
> /usr/local/sbin/ldif2ldbm -f slapd.conf myldif to creat the database;
Be sure to configure your slapd.conf with 'o=<Your Company Name>'
>
> /usr/local/libexec/slapd -f slapd.conf to activate the slapd;
>
> then I tried to search the database with command
> /usr/local/src/ldap/client/tools/ldapsearch -h 127.0.0.1 'cn=Weber'
> gave me the message "Can't contact LDAP server".
>
> If I followed the instruction to use
> ldapsearch -b 'o=company, c=US' cn='Weber',
> then the message was "No such object".
Try: ldapsearch -b "o=<Your Company Name>, c=US" 'cn=*' (notice the
double quotes around the searchbase, and the single quotes around the
entire attribute statement).
>
> Any idea??
>
> Thanks for your help in advance.
>
> Weber.
> wwung@grci.com
--
-----------------------------------------------------------------
Bill Hirsch phone: 415.721.3213
Systems Administrator email: willem@lucasdigital.com
Industrial Light + Magic
-----------------------------------------------------------------