sexta-feira, 27 de fevereiro de 2015

OpenLDAP Windows

Veja a versão em português

Hello!

Today I had to install the OpenLDAP in a Windows enviroment.

It is easy, just do the following steps. You have to:
- Download the OpenLDAP for windows: http://sourceforge.net/projects/openldapwindows/
- Unzip it to some folder
- Execute it and install the software
- In "Windows Start Menu" look for "Start LDAP Server" and click on it. (Start – Programs – OpenLDAP 2.4.38 – Start LDAP Server)
- In "Windows Start Menu" look for "OpenLDAP Command Line" and click on it.  (Start – Programs – OpenLDAP 2.4.38)
- Type: ldapadd.exe -v -x -D "cn=Manager,dc=my-domain,dc=com" -W -f ..\etc\ldif\base.ldif
- Press enter. (If it doesn't work, try typing again the quotation marks (" ") because the Windows needs the right character.)
- Put the password that is "secret" by default
- Type: ldapadd.exe -v -x -D "cn=Manager,dc=my-domain,dc=com" -W -f ..\etc\ldif\base.ldif
- Press enter.
- Put the password that is "secret" by default

Now, the OpenLDAP is installed, configured and started. To login use:
Host: localhost
Port: 389
User: cn=Manager,dc=my-domain,dc=com
Password: secret

Best Regards,
Adriano Schmidt

Nenhum comentário:

Postar um comentário