On Sunday 06 February 2005 21:29, Nick Smith wrote:
> every how-to i have read about on openldap also wants you to
> authenticate against it.  i just want to use it for a global address
> list, is this possible? if so, is their a how to on just this one part
> of openldap? or come someone just explain to me how to do it? i already
> authenticate against a mysql db and dont need openldap for that. is it
> possible to just use it for a global address list without having to also
> authenticate with it? is there a better solution for what i want to do?
> aka a different global address list, that is compatible with both linux
> and windows boxes.
>

With the default config on Gentoo, you will need to authenticate to write 
data, but not to read data. For example to add an entry:

ldapadd -x -H "ldap://localhost"; -D "cn=Manager,dc=example,dc=com" -W
Enter LDAP Password: <enter the value of rootpw from /etc/openldap/slapd.conf>
dn: cn=Test User,dc=example,dc=com
objectclass: person
sn: User
cn: Test User
mail: Test [EMAIL PROTECTED]
^D
adding new entry "cn=Test User,dc=example,dc=com"
^D

To show the contents of the directory:
ldapsearch -H "ldap://localhost"; -b "dc=example,dc=com"

-- 
Paul

Attachment: pgpsecO1Jbi36.pgp
Description: PGP signature

Reply via email to